I have such code
if(itemid){
expandHighlight(itemid);
}
function expandHighlight(itemid){
alert(itemid);
}
Sure, it works as it should, but if itemid has value of “0” (int) – nothing happening. A get no alert, just nothig… any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Either make your
ifmore sensible:Or remove it entirely