Change Value Of Hidden_field_tag With Js (prototype & Rails 3)
I'm riding Rails 3 and using Prototype. That said I'm only really asking a JS question.. I have a form, it's pretty simple. In the form I have a hidden field tag: <%= hidden_fi
Solution 1:
document.getElementById('theId').value = "what ever you want";
Just like with every other input
Post a Comment for "Change Value Of Hidden_field_tag With Js (prototype & Rails 3)"