> S.Isaac Dealey wrote:

>> last I knew javascript try-catch wasn't cross-browser...
>> I think IE
>> allows it but Mozilla browsers tell you that you can't
>> use the keyword
>> "try" when you attempt it. Or at least that was my
>> experience
>> previously.

> Nope, it's definitely cross-browser. Drop this into the
> Mozilla
> addressbar to test:

>     javascript:try { 1 == 1; } catch (e) { }

> It should write out "true" if it works, or complain if it
> doesn't.

> I've been using try .. catch with Firefox since v0.8, so
> it ought to
> work everywhere. I also opened up Opera (v7.54u2), and it
> works there
> too.

Admittedly it's been a long time sinze I tried it... so it may be a
Netscape 4.x issue.

s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206429
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to