Ask a Question related to ASP.NET General, Design and Development.
-
KJ #1
Re: Trying to create a condition statement in
Ampersand. &&
My mistake was that I did not put the word 'javascript:' in front of the script.
mybutton.attributes.add ( "javascript:if ((x=1) && (y=2)) { (p=4) } else {}")
KJ Guest
-
Inconsistent error with create table statement containing foreign key constraint
Here is the clause defining a foreign key constraint. CONSTRAINT `contact_id_fk` FOREIGN KEY (`contact_id`) REFERENCES `conts` (`contact_id`) ... -
condition
hey jan... i do it like this: function existRec (name) { for (i=0; i<recs.length; i++) { if (recs == name) { return true; } } return false;... -
?: condition
eh, probably dumm question but why is asking to return a value not working here? for (var i=0;i< x.length; i++) { x ? : return true : null; } -
ASP, using SQL COUNT as a condition in IF ELSE statement
I am trying to do a simple "less than" conditional statement, and hitting a brick wall if I use a database element with it. This DOES work: <%... -
complex condition
I know there must be a way to do the following: if (($foobar > 3) || ($foo="t" && $bar = "b")) {print "yup"} Of course this is wrong, but what...



Reply With Quote

