Onchange error - InvalidAuthenticityToken


<select id=“hello” name=“me” onchange ="new Ajax.Request(’…’)>

<option value = "344" selected="selected></option> <p>Can you enclosed this onchange here dynamically?</p> <p>the Ajax.Request i post come back with an InvalidAuthenticityToken<br> error.</p> <p>I don’t know where to strart on resolving that so I am wondering if I<br> can use the select tags in html and insert a remote_function call…<br> to generate the javascript required.</p> <p>thanks.</p>

I have the same problem…have you got any solution?


Yes, you should be able to use the remote_function call as long as you
embed it in erb tags.

On May 13, 5:02 am, William Notowidagdo <rails-mailing-l…@andreas-

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs