antman
|
| Posted: 05/09/2002, 9:32 AM |
|
I added to an img tag this onerror event: this.height=0;this.width=0; (common trick to hide broken images).
It does not work and when i check the HTML output I see:
<img language="javascript" onerror="this.height" ="0;this.width=0" src="image.jpg">
So the regexp that says "split the string before = and after it" is incorrect because "=" is allowed in javascript
Working around it is tricky since the "this." property works only within the same HTML event scope
|
|
|
 |
Alex Alexapolsky
|
| Posted: 05/10/2002, 2:03 AM |
|
What is your CC version in Help/About ?
|
|
|
 |
|