Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Can I do it using Javascript??


Message #1 by srikanth_prabhala@s... on Wed, 5 Mar 2003 22:14:41
Dear Joe, 
It was excellent and it solved my problem to a great extent..Thankx a 
lot.. 
Here are a few more issues regarding this: 

1.If I click the link twice it should show me the checkboxes with the same 
status that was there earlier. ie. if I click a link and the state of the 
three checkboxes are checked, checked and unchecked then if I click again 
on the same link it should persist the same state. Or If edit the 
checkboxes to checked, checked and checked after another click on the same 
link (without moving to any other link)the state should persist.

2. Also I have two more columns. After clicking the link, one will contain 
a radiobutton and a simple text "Even" and the other will contain a 
textfield and a simple text as "%". If I check the radio, during the next 
traversal to some other link the earlier checked radio will show me 
as "Even" as a text and if I didn't check it first time it show me as 
blank.

As far as the second column is concerned if I put a value in the text box 
and I go to some other row(with a link clicked) the earlier entered value 
should persist like "10%" in previous row. Also if I don not enter 
anything it should show me as blank.

Also if I click the same link repeatedly it should maintain the earlier 
state. 

Thanks & Regards

Srikanth



> Dear All,

> I have a table with a first column of name ( depicted as a hyperlink )
and 
o> ther columns with either a value 1 or 0.
W> hen I click on the name ( the first column )hyperlink that particular 
row 
i> s selected and and all the columns ( except the name column ) become 
c> heckboxes with checked status for all the columns with a value 1 or 
u> nchecked status for all the columns with a value 0. Now I edit the row 
by 
c> hecking/unchecking the checkboxes.
N> ext when I click another name hyperlink the earlier row selected gets 
b> ack to the initial state with a value of 1 or 0 based on the edition 
done 
i> n the previous stage and the new row again becomes selected with all 
the 
c> heckboxes.
C> an I do the above functionality with JavaScript without reloading the 
p> age again and again?
P> lease reply ASAP...

> Thanks & Regards
S> rikanth

  Return to Index