- Feb 7, 2001
- 1,637
- 0
- 0
How do I make a parameter to a Javascript function I've written optional?
ie I have a function that opens a popUp window, first parameter is the URL to open, second and third parameters are width and height, and I want width and height to be OPTIONAL and to default to 610 and 450.
Thanks!
ie I have a function that opens a popUp window, first parameter is the URL to open, second and third parameters are width and height, and I want width and height to be OPTIONAL and to default to 610 and 450.
Thanks!