Hey,
Before my form initiates an AJAX request, I want to call a function.
I see that for link_ to_remote there is the handy :before option... "Called before request is initiated."
here is my source:
<% form_remote_for(@news, :url => {:action => 'create'}) do |f| %>
Before the request is initiated, I want to call myFunction()
Thanks for the help :)