Help about javascript |
[eluser]adityamenon[/eluser]
That's happening because even if those form fields are getting hidden, their values are not being emptied and are getting submitted along with the visible fields. In the rToggle() function, in addition to hiding/showing the required form fields, you must also clear out all the values that were typed into the form that's about to be hidden. Check this out: http://www.learningjquery.com/2007/08/cl...-form-data |
Messages In This Thread |
Help about javascript - by El Forum - 06-06-2011, 04:47 AM
Help about javascript - by El Forum - 06-06-2011, 05:48 AM
Help about javascript - by El Forum - 06-06-2011, 05:51 AM
|