Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Need Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need Script" Watch "Need Script" New topic
Author

Need Script

Prasad Babu
Ranch Hand

Joined: Jul 17, 2005
Posts: 57
Hi All,

Here is my scenario:

I have one web page with pagenation(of course its JSP). the page has check boxes for each record dispalyed in the page. I want to select the required check boxes and i will navigate the page(i.e. for the next records). and goes on i will check all required check boxes(i.e. records.) then how can i store the checked boxes(records ids) information in a javascript array variable(the final array shoud contain all checked boxes values). Its just like Yahoo address book where we can select multiple entries to select and send mail.(the pagenation is there)

thanks in advance

Prasad
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61457
    
  67

You'll either need to propogate the values from page to page using hidden variables. or accumulate them in the session.

Do you not think that you could come up with a better title for this topic?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Need Script