Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Onclick checkbox

Status
Not open for further replies.

smellykat

Programmer
Mar 4, 2002
33
US
I am trying to figure out how to do this: when a checkbox is clicked, automatically delete that row from my table. This means accessing the db...I guess what I'm asking is how to i call a js function from a checkbox?

Thanks for your help.
S.
 
You would treat the checkbox like any other object on the document:

<input type=checkbox name=whatever onClick=&quot;whatever();&quot;> - &quot;Delightfully confusing...&quot; raves The New York Times

-Kas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top