SV: [thelist] Basic JavaScript question

john at johnallsopp.co.uk john at johnallsopp.co.uk
Sat Oct 18 10:43:59 CDT 2003


> I simply replaced 'menuText' around \"menuText\". It should work.
Thanks

> Btw: Do you have to do it that way? Isn't it easier/cleaner to call an
> event handling function instead? You might think "I don't want the extra
> work to write a function and call it!". But if you had you wouldn't have
> had this problem in the first place and saved more time than you
> would've lost on writing the extra function.
I'm happy with functions, I just wanted to test I could get it to work,
then neaten it and make it generic into a function. Obviously it didn't
work in this case tho :-)

Cheers
J





More information about the thelist mailing list