Skip to content
Advertisement

elseif value is less than getting value or greater than

I am trying to show echo 2 but its not working

JavaScript

Please let me know where i am doing wrong. Thank you for the help Result = 2

Advertisement

Answer

You need to compare string with string if the leading 0 of the zipcode is important:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement