Is there a way to make this dynamic? I have ~ 100 lines that need to be written into a table of data which a check box indicating status of a project (complete or not). Each checkbox has an id="check1" or "check2" etc. What I'm looking to do is to trigger a function that submits ProcessThe Data.asp?ID=1 (which is done in the background without a page refresh.
What you suggested works perfectly for submitting the entire form - I think I want to submit a simple URL and have it process in the background. On Apr 29, 4:34 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > Can someone please point me in the right direction? I am using the > > form plugin and it works great on a form submit action. Is there a > > way I can use it on a click event on a checkbox or onblur for a text > > field to immediately save the user's data? Thanks in advance for your > > help. > > You can use the ajaxSubmit fn with any event you choose. For example, > > $('#myCheckbox').click(function() { > $('#myForm').ajaxSubmit({ > // options go here > }); > return false; > > }); > > Replace the 'click' fn above with 'blur' or whatever you need. > > Mike