Another escape() function error:
I have this:
javascript:var q=prompt('Reference:',''); if(q){var 
l=prompt('Site?','www.php.net'); location.href='http://'+l+'/'+escape(q); }

After entering text and press ok at last prompt, this produce:

Error: uncaught exception: [Exception... "Component returned failure 
code: 0x80500001 [nsIDOMWindowInternal.escape]"  nsresult: "0x80500001 
(<unknown>)"  location: "JS frame :: <unknown filename> :: <TOP_LEVEL> 
:: line 0"  data: no]


It works fine in ns7.x, ns6.x, mozilla <= 0.9.4, and ie too. But not int 
mozilla 0.9.6 (not tested in 0.9.5).  Where is the problem, seems this 
escape function not working fine?

thx for help
CoL


Reply via email to