Hi everybody,
I have a JavaScript function I'd like to call either with one or two parameters. The second parameter is a character string.
I'm wondering how can I check for the parameter being passed?
For some reason, check if (MyParameter) produces an error "Object required". I got the same error trying
typeof MyParameter !="undefined".
How can I test for the second parameter?
Thanks a lot in advance.
If it's not broken, fix it until it is.
My Blog