CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 CCS problem: javascript events incorrectly parsed

Print topic Send  topic

Author Message
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 ?

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.