I have an Ajax form with a data-remote=\"true\" attribute which I\'m submitting to a controller in rails.
data-remote=\"true\"
What I\'d like to do is to use the jquery-ujs even
To change data attribute (at least now, using Jquery 1.7.2) inside the beforeSend method (the Jquery native method), you can just alter the this.data variable.
data
beforeSend
this.data