Link to home
Start Free TrialLog in
Avatar of Nico2011
Nico2011Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Javascript form submit with checkbox click

Hello Experts,

This *should* be an easy one, ut I still need help!

I have a form and have checkboxes which submit the form when clicked - like this:

<input name="for_sale<%=PropRS("ID")%>" type="checkbox" value="1" <%if for_sale=1 then%> checked<%end if%> onclick="this.form.submit();">

Open in new window


Can anyone let me know how I can pick up when the form has submitted?

If request.Form("submit") <> "" doesn't work, and there will be numerous checkboxes, each with it's own ID, soI can't use them - plus I don't want a button!

Help appreciated - thanks!
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nico2011

ASKER

thanks Gary - much appreciated!