Javascript behaviors in Dreamweaver not working correctly?
I'm trying to toggle the 'checked' property of a checkbox by clicking on an image (click on an image the box is checked, click again it's unchecked). I was going to use Dreamweaver's built in 'change property' behavior to do this but the behaviors dialogue box keeps telling me: 'no INPUT /CHECKBOXs detected' even though there are several checkboxes, all correctly addressed (ID's, types, names). Is there something specific I need to do to make the behaviors panel detect the checkboxes? Can anyone suggest an easier or better javascript solution for what I'd like to do (please include the code if you can)
here's the code fragment I was using (the <img> is what I'd like to click to change the box):
<form id="form" >
<input name="_test" type="checkbox" id="_test" value="test" />
</form>
<img src="Dublin-Contact-Link.gif" width="152" height="111" />
|