Setting the value of hidden element
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abdel_Olakara
Posted On:   Monday, February 5, 2007 12:46 AM

hi everybody,

I have a situation here. I am trying to update a element using java script. The form is having a form bean and when user clicks the submit button, a javascript have to fetch the data and assign it to the hidden element. How do i do that?


Thanks in advance

--Abdel Raoof Olakara

http://olakara.googlepages.com

Re: Setting the value of hidden element

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, February 10, 2007 06:53 PM

make sure you put a "styleId='foo'" on the html:hidden, and in your javascript, set the 'document.getElementById("foo").value=whatever".
About | Sitemap | Contact