okay guys, this should be fairly simple...i think i'm just doing something silly that i'm overlooking. what i'm trying to do is when an image is clicked on a page, i want it to fire off a little javascript. when i have:
<input type="button" onClick="move(this.form.list2,this.form.list1)" id=up name=up value="up">
the script runs fine. however, when i have:
<img src="\images\arrowup1.gif" onClick="move(this.form.list2,this.form.list1)" id=up name=up value=up>
i get the following error:
A runtime error has occurred
Error: 'this.form.list1' is not an object
i don't want input type = "image" because that submits the form and i don't want to do that
any help?? i'm not sure why this won't work
<input type="button" onClick="move(this.form.list2,this.form.list1)" id=up name=up value="up">
the script runs fine. however, when i have:
<img src="\images\arrowup1.gif" onClick="move(this.form.list2,this.form.list1)" id=up name=up value=up>
i get the following error:
A runtime error has occurred
Error: 'this.form.list1' is not an object
i don't want input type = "image" because that submits the form and i don't want to do that
any help?? i'm not sure why this won't work
