jmbaratta
asked on
Javascript Quotation Syntax
Hello,
I am creating a form to submit information, and I have used various answers on this website to create the following tag:
<input onClick="this.form.action= 'LINKGOESH ERE'" type="image" name="submit" value="submit" src="/images/button_submit .gif" alt="" width="65" height="20" hspace="0" vspace="0" border="0">
The problem that I run into is that I want to use a javascript pop-up window as the link, which causes a quotation mark crisis!
The link, javascript:popUp3('aboutus _picture1. asp'); causes a syntax error when it is inserted into the tag above...
<input onClick="this.form.action= javascript :popUp3('a boutus_pic ture1.asp' ); '" type="image" name="submit" value="submit" src="/images/button_submit .gif" alt="" width="65" height="20" hspace="0" vspace="0" border="0">
Help please? Thanks! J.M.
I am creating a form to submit information, and I have used various answers on this website to create the following tag:
<input onClick="this.form.action=
The problem that I run into is that I want to use a javascript pop-up window as the link, which causes a quotation mark crisis!
The link, javascript:popUp3('aboutus
<input onClick="this.form.action=
Help please? Thanks! J.M.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<form>
<input onClick="this.form.action=
</form>