wakmp
-
Posts
5 -
Joined
-
Last visited
Never
Posts posted by wakmp
-
-
<script language='javascript'>
var pop = window.createPopup();
function show(){
pop.document.open();
pop.document.write('<body bgColor="green">ha , look here !</body>');
pop.document.close();
pop.show(300,300,100,100);
}
</script>
<a href='javascript:show();'>Popup</a>
Try that! -
<input type='text' name='text1' readonly>
if you have the text disabled , it will not work , I think -
onsubmit="return check[color=red][u]F[/u][/color]orm(this);"
I think you should use lowercase :
onsubmit="return check[color=green][u]f[/u][/color]orm(this);"
-
May be:
<form name="form" action="upload2.php" method="POST" onsubmit="return checkForm([color=red]this[/color])">
try it .
Form Handling
in Javascript Help
Posted
<input type='text' name='field2' id='field2' onblur='check();'><br>
<input type='text' name='field3' id='field3' onblur='check();'><br>
<input type='text' name='field4' id='field4' style='display:none;'><br>
<input type='text' name='field5' id='field5' style='display:none;'><br>
<input type='text' name='field6' id='field6' style='display:none;'>
<script language='javascript'>
function check(){
if(field1.value != '' && field2.value != '' && field3.value != ''){
field4.style.display = 'block';
field5.style.display = 'block';
field6.style.display = 'block';
}
}
</script>
Like this ?