Peng Zhang on November 9th, 2009

The home page of EKS started to throw errors like “Object not Found” in Internet Explorer 6. Upon closer inspection, I suspect that it was because the javascript functions that are being called appear to be still undefined to IE. This occurs only in IE though – Firefox does not have this problem. I still [...]

Continue reading about Javascript Functions Appear to Be Undefined to IE

Peng Zhang on October 9th, 2009

Fireworks exported html page include a line of html comment that looked harmless like below:
<!– saved from url=(0014)about:internet –>
But it caused problems in IE browsers – Simple actions that used to work without a problem would stop working. For example,  a function call like window.open(“new.html”,”winpopup”,”status=yes,resizable=1,width=350,height=250″) would trigger an “Access Denied”  JavaScript error. Why [...]

Continue reading about Innocuous HTML Comments Can Wreak Havoc

Peng Zhang on September 22nd, 2009

Suppose you have a form in your html page like below. Notice it is without a name attribute.

<form id=”myform” action=”formhandler.php”>
<input type=”hidden” name=”cityname” value=”">
</form>

If you are using this syntax to access the values of input elements inside a form like this:

[...]

Continue reading about Missing Name Attribute in Form Tag Can Lead to Javascript Error

Peng Zhang on March 13th, 2009

I had report that some users are having script errors on a video page. The error message contains something like “An error has occurred in the script on this page. Line: 53, Char: 3, Error: Object required, Code: 0, URL: — yada yada yada”. The error message pops up when the user clicks the browser’s [...]

Continue reading about Google Bar Causing Flash Video Page Script Error