Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 02:44 PM
Kevin M Kevin M is offline
Junior Member
 
Join Date: May 2008
Posts: 3
Default

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" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript cookie- still not working? Elgan JavaScript 0 05-10-2008 08:03 AM
HTML/javascript not working...? Chris S HTML & DHTML 0 05-08-2008 12:32 PM
Javascript is not working in Fire Fox? dabrickzny JavaScript 0 05-08-2008 08:10 AM
javascript form validation in jsp not working...? yuv Java, Java Servlets & JSP 1 05-06-2008 06:27 PM
JavaScript not working on one desktop? Caito JavaScript 1 05-06-2008 12:40 PM

Your Ad Here

All times are GMT. The time now is 03:08 PM.