This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes JSF and the fly likes how to send the array from xhtml onclick funtion  to javascript? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to send the array from xhtml onclick funtion  to javascript?" Watch "how to send the array from xhtml onclick funtion  to javascript?" New topic
Author

how to send the array from xhtml onclick funtion to javascript?

prasad kakani
Ranch Hand

Joined: Jul 15, 2008
Posts: 59

hi all,

how to send the array from xhtml to javascript?

This is my requirement .

Displaying the datat in the tabuler format. the second colomn of the each row has an expansion button. on click of this expansion button i need to send the array of values which we get from #{creationdatedmdvo.demandLocation} to javasript. in javascript , these values will be taken and kept into the new row which will be added under the each row whatever row we clicked. The problem is i am not able to send this list to javascript thru onclick funtion of image.
Please help me out..Help would be greatly appreciated.






 
 
subject: how to send the array from xhtml onclick funtion to javascript?