Skip to main content

Timeline for A little help with an if statement

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Oct 13, 2014 at 17:40 comment added Jaime Negron thanks Eric, yes ran into that, ended up using if(results.length > 0) and it worked like a charm within the logic.
Oct 7, 2014 at 22:10 comment added Rao Hopefully you have a == 18 and not a =18, = is an assignment operator, == is a comparison operator. if you do caller.id.length = 18 your if loop will always be true
Oct 7, 2014 at 22:08 comment added Jaime Negron got it figured out on > if (callerId.id.length = 18){
Oct 7, 2014 at 21:57 comment added EricSSH What is callerId?
Oct 7, 2014 at 21:43 history edited Keith C CC BY-SA 3.0
added 16 characters in body
Oct 7, 2014 at 21:42 history asked Jaime Negron CC BY-SA 3.0