Possible Duplicate:
Detecting an undefined object property in JavaScript
Would it be like this?
if(variable == undefined) {
or would it be like this?
if(variable == "undefined") {
if (typeof variable == 'undefined')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With