Displays the specified location within the frame
<div style='width:300px;height:300px;'><iframe src='' style='margin:-100px;width:100%;height:100%'></iframe></div>
Change the properties of the text box (OK button)
<form name="form1" method="post" action="">
<input name="text" type="text" value="sdafasdfasdf" />
<input type="button" name="Submit" value="Change" onClick="tot()"/>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!--
function tot()
{
if (document. == true)
{
=false;
}
else
{
=true;
}
}
//-->
</SCRIPT>
Note: The following readOnly O must be uppercase r must be lowercase
<SCRIPT LANGUAGE="JavaScript">
<!--
function tot()
{
if ( == true)
{
=false;
}
else
{
=true;
}
}
//-->
</SCRIPT>
Change the properties of the text box (radio button)
<script language="javascript">
<!--
function cStyleshow()
{
=false;
}
function cStylehidde()
{
=true;
}
-->
</script>
<input name='a1' type='radio' value='yes' checked onclick='cStyleshow()'>1
<input name='a1' type='radio' value='no' checked onclick='cStylehidde()'>2
<input name="name" type="text" >
Change the properties of the text box (drop-down list)
<select name="s1" onChange="if(==1){('T1').readOnly=true}else{('T1').readOnly=false}">
<option value="1">1</option>
<option value="2">2</option>
</select>
<input type="text" name="T1"/>
<div style='width:300px;height:300px;'><iframe src='' style='margin:-100px;width:100%;height:100%'></iframe></div>
Change the properties of the text box (OK button)
<form name="form1" method="post" action="">
<input name="text" type="text" value="sdafasdfasdf" />
<input type="button" name="Submit" value="Change" onClick="tot()"/>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!--
function tot()
{
if (document. == true)
{
=false;
}
else
{
=true;
}
}
//-->
</SCRIPT>
Note: The following readOnly O must be uppercase r must be lowercase
<SCRIPT LANGUAGE="JavaScript">
<!--
function tot()
{
if ( == true)
{
=false;
}
else
{
=true;
}
}
//-->
</SCRIPT>
Change the properties of the text box (radio button)
<script language="javascript">
<!--
function cStyleshow()
{
=false;
}
function cStylehidde()
{
=true;
}
-->
</script>
<input name='a1' type='radio' value='yes' checked onclick='cStyleshow()'>1
<input name='a1' type='radio' value='no' checked onclick='cStylehidde()'>2
<input name="name" type="text" >
Change the properties of the text box (drop-down list)
<select name="s1" onChange="if(==1){('T1').readOnly=true}else{('T1').readOnly=false}">
<option value="1">1</option>
<option value="2">2</option>
</select>
<input type="text" name="T1"/>