Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Problem with Search Fields, URGENT DEADLINE


Message #1 by owen.brandt@r... on Fri, 11 Jan 2002 14:21:38
You say you "get the warning triangle". That suggests that you're not seeing
the real javascript error messages. Maybe you know you can double-click on
that triangle to see them, but as a developer it's so easy to miss the
triangle that it's much better to instead turn on the error messages so you
see them when an error occurs (as a modal error window that you click "ok"
on to get past).

Here's a paragraph on the subject from an October 2001 CFDJ article I did on
e-testing:

...I'm referring to the simple matter of your being aware when your
JavaScript code is generating errors. Daily, I encounter sites with errors
that the developers clearly have missed. The really pernicious thing is that
they don't even know they're there. Did you know that, by default, modern
browsers (both IE and Netscape) hide JavaScript errors? As a developer, you
need to turn them back on! In IE 5.5, use Tools>Internet
Options>Advanced>Browsing>Display a Notification About Every Script Error.
To enable them in Netscape, see the Netscape client-side JavaScript Guide at
http://developer.netscape.com
/docs/manuals/js/client/jsguide/console.htm#1045065. Of course, this will
now expose you to all the errors on pages you visit, but this is a small
price to be sure that you see any errors in your own code.

The full article is at http://www.sys-con.com/coldfusion/article.cfm?id=349

/charlie

-----Original Message-----
From: owen.brandt@r...
[mailto:owen.brandt@r...]
Sent: Friday, January 11, 2002 4:04 PM
To: javascript
Subject: [javascript] RE: Problem with Search Fields, URGENT DEADLINE

Hi Oleg

Sorry, that doesn't seem to work. When you run the script in your browser,
the 2nd dropdownbox should expand with the options. And you still get the
warning triangle. AAAhh!!

OB


  Return to Index