...

View Full Version : Can a checkbox do 2 different things after it is clicked?



ChadV
06-13-2010, 06:30 AM
Can a checkbox do 2 different things after it is clicked?

Right now I am using this...

<input type="checkbox" onclick="processCheckbox(this);">
<input type="checkbox" onclick="activLink(this.checked)">

I don't want to have 2 checkboxes on my page, just 1 and get the same result.

Is this possible?

Chad

abduraooft
06-13-2010, 12:48 PM
<input type="checkbox" onclick="processCheckbox(this);activLink(this.checked);">

ChadV
06-13-2010, 04:43 PM
Thanks abduraooft.

I had tried that before and it didn't work.

I was forgetting the ; between them.

Works fine now, thanks again.

Chad



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum