Hi,

Actually, the max length of the js string is not 467, it depends the content of the string.

 


From: jake yang [mailto:[EMAIL PROTECTED]
Sent: 2006
221 21:10
To: ([email protected])
Subject: the length of the _javascript_ string can be loaded in lzapp?

 

Hi,

I am writing code for an lzx class that need execute some js functions. I want these functions written in the same lzx file as this lzx class.

So, in this class, I need LzBrowser.loadURL ( jsStr ) to load these _javascript_ funtions before I use them. But I met a problem:

If the jsStr (the string parameter of loadURL) has a length more then 467, these functions won’t be loaded in IE but it’s good in firefox. If I put these js functions’ code directly in the lzapp’s html wrapper, it works well both in IE and Firefox.

I don’t know whether this is a bug of lps, hope somebody can help me. Thanks.

 

Jake yang

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to