<input type=checkbox onClick="submit();">

wxdqz

New Member
Need help with a form using PHP (server-side) and JavaScript (client-side). Program reads info from database on server and displays form on page. User then finds his/her name and checks the checkbox next to the name, as if saying, "Yes, I acknowledge that I have read this". As soon as the user checks the checkbox, the form should be submitted and update the database, showing they have read this page...

When I use <onClick="submit();"> I get an error saying "object doesn't support this property or method"...

Then why have I found this example on many many websites, and they all say it can be done?

Any help would be appreciated,
CrystalWood
 
Back
Top