aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Passing array values using Ajax & JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Passing array values using Ajax & JSP " Watch "Passing array values using Ajax & JSP " New topic
Author

Passing array values using Ajax & JSP

Maya Naga
Ranch Hand

Joined: Nov 09, 2009
Posts: 79
I have created a chart application using jQuery, JSP and ajax.


using javascript function, am storing the selected listbox values in 'sel_data_value'. I need to pass this selected array values to database to retrieve values regarding selection. How can i do this using ajax. i don know how to pass array values in ajax and retrieve it from database.

if sel_data_value='vehicle reporting' is selected how can i pass this using ajax to database so that i can retrieve array of values and pass it to chart application. I am new to ajax. can anyone help me how to send and retrieve array of values using ajax.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Since you say you are using jQuery look at serialize

Eric
Maya Naga
Ranch Hand

Joined: Nov 09, 2009
Posts: 79
Thanks Eric....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing array values using Ajax & JSP