[thelist] javascript link to popup window validation issue

Hassan Schroeder hassan.schroeder at gmail.com
Sat Apr 7 15:35:47 CDT 2007


On 4/7/07, Hassan Schroeder <hassan.schroeder at gmail.com> wrote:

> Offlist, as I'm breaking my own rule about advising people to not use
> libraries until they're familiar with the underlying basics :-)

heh. Excessive multi-tasking strikes again. Kids, do as I say, not as
I do. And don't make me stop this car! :-)

<tip type="javascript debugging">
Using alert()s is a standard debugging approach but if you attach one
to a "blur" event, you're in trouble when it fires because each attempt
to close the alert box results in another blur. Lather, rinse, repeat. So
you'll probably wind up having to kill  your browser process.

Instead, create a 'showMessage(myText)' function that appends your
desired debug message as a text node to some existing block-level
element in the page.
</tip>
-- 
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com



More information about the thelist mailing list