Posted: Tue Feb 12, 2008 9:24 pm condition in side the check box...actual requirement
actually my requirement is...in my table for a td i am getting an value as false...i need to replace that false with a check box(dat to checked)...(in short if it is false it must check the check box..where the td values are dynamic..(ie i have kept dat table in side the for loop so dat the td's and tr's will be dynamically generated according to the data..) )
currently i am using like this...but it is not working
<input id="checkbox" name='+i+' type="checkbox" '+this.couponArray[i].special=="false"?checked:unchecked+'onChange="doChange(this)" >...any body got what i said ???.... if so kindly help me out....
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum