A
Aaron Fude
I have this
<img src="a.jpg" onClick=this.src="b.jpg\"">
and it works. But I like obeying rules so I change it to
<img src="a.jpg" onClick="this.src=\"b.jpg\"">
and it no longer works.
Please note that I really cannot do the alternating
single-quote-double-quote thing is the onClick action is set programatically
and it is hard to detect exactly what's inside.
Thanks!
Aaron Fude
<img src="a.jpg" onClick=this.src="b.jpg\"">
and it works. But I like obeying rules so I change it to
<img src="a.jpg" onClick="this.src=\"b.jpg\"">
and it no longer works.
Please note that I really cannot do the alternating
single-quote-double-quote thing is the onClick action is set programatically
and it is hard to detect exactly what's inside.
Thanks!
Aaron Fude