tinfanide Posted July 2, 2012 Share Posted July 2, 2012 Please kindly go tohttp://lifelearning.xtreemhost.com/lib.htmlA testing page. Just check the checkbox "Lib1" and do not enter anything in the input boxI have checked if sFound1 is null in the if condition (already commented in the codes,but the table (at the bottom) still returns the null value. Can anyone help me a bit here?Many thanks in advance. Link to comment Share on other sites More sharing options...
tinfanide Posted July 2, 2012 Author Share Posted July 2, 2012 solved.Treat null as a string. Link to comment Share on other sites More sharing options...
SnakesBite101 Posted July 6, 2012 Share Posted July 6, 2012 quick question. would this also solve the issue: if typeof obj !== null; Link to comment Share on other sites More sharing options...
tinfanide Posted July 7, 2012 Author Share Posted July 7, 2012 yes, a more usual way. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now