Kirix Support Forums

changing value

Please post any help questions, requests or other feedback here.

changing value

Postby abenitez77 on Mon Mar 26, 2012 5:38 pm

the value of my variable is changing for no reason. I put an alert to check the value of myProjectsID and before I run the if statement, it returns 51. After the if statement it returns 'undefined'. I don't get the alert within the if statement. Why is my value for myProjectsID disappearing?

if (myProjectsID == 0 || myProjectsID = undefined)
alert("You need to select a project before adding to an existing project");
///////////////////////// END TEXTBOX VALIDATION SECTION //////////////////////////////////////////////
Registered User
Posts: 143
Joined: Fri Jan 21, 2011 12:42 pm

Return to Strata Help & Feedback