|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I have this function I am calling in my asp page
* Edit: Please enclose code within the appropriate code tags. * PHP Code:
Here is where I got stuck. Everything else is working fine..when value of fmu is 1 the cfm should be selected else if fmu=1000 then lpm should be selected. |
|
#2
|
|||
|
|||
|
I'm not entirely sure I understand your issue, but does this help?
ins="<table align=center border=1 bordercolor=black width='100%'><tr><TD nowrap align='left' width='32%'><font face='verdana' size='2'>Air Flow</font></TD><td><INPUT TYPE='text' NAME='AF' value="+fm+"> <select name='afu' class='VerySmallCombo' onClick='javascript:getCurrflow(this);' onChange='javascript:setUnitflow(this,this.form.AF );'><option value='1'" + ( fmu == 1 ? " selected " : "" ) + ">cfm<option value='1000'" + ( fmu == 1000 ? " selected " : "" ) + ">lpm</select></td></tr></table>" |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Inner HTML help please urgent |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|