Hi!
I would like to have a small javascript in page generated by php.
<code>
<TR class=searchresultodd
onmouseover="javascript: if(this.className=='searchresultodd'){on=1;};this.style.backgroundColor='#FFDA81';"
onclick="op('cid=2040211');"
onmouseout="javascript: if(on==1){this.style.backgroundColor='#EDF4FA';on=0;} else {this.style.backgroundColor='#ffffff'}">
</code>
I don't know how to send it with print ' as this script contains both " and ' which messes the print command.
Does any know how to write that? Thanks!
I would like to have a small javascript in page generated by php.
<code>
<TR class=searchresultodd
onmouseover="javascript: if(this.className=='searchresultodd'){on=1;};this.style.backgroundColor='#FFDA81';"
onclick="op('cid=2040211');"
onmouseout="javascript: if(on==1){this.style.backgroundColor='#EDF4FA';on=0;} else {this.style.backgroundColor='#ffffff'}">
</code>
I don't know how to send it with print ' as this script contains both " and ' which messes the print command.
Does any know how to write that? Thanks!