rajeshsivapalan
12-13-2004, 06:42 AM
Hi All,
Seasons best greetings!
I am new user in this forum...
I have problem ...
First have a look at the html and javascript code
//----------------Put the following in a notepad and save as file.htm and view result.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="">
<input
onblur="if (this.value == '') {this.value='Keyword';}"
onfocus="if (this.value == 'Keyword') {this.value='';}" maxLength=40 size=10
value=Keyword name=srchreq default="Keyword" col=""
onclick= "getElementById('__deepak').innerHTML = '<input name=Submit type=submit value=Go!>' ">
<div id = "__deepak"></div>
</form>
</body>
</html>
//---------------------------------
Issues faced are....
Issues
1) Internet Explorer
It is working fine except on click document event it is not disabling Go button.
2) Mozilla
It needs double click on text box to display Go button.
Thanks and regards
Rajesh
Seasons best greetings!
I am new user in this forum...
I have problem ...
First have a look at the html and javascript code
//----------------Put the following in a notepad and save as file.htm and view result.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="">
<input
onblur="if (this.value == '') {this.value='Keyword';}"
onfocus="if (this.value == 'Keyword') {this.value='';}" maxLength=40 size=10
value=Keyword name=srchreq default="Keyword" col=""
onclick= "getElementById('__deepak').innerHTML = '<input name=Submit type=submit value=Go!>' ">
<div id = "__deepak"></div>
</form>
</body>
</html>
//---------------------------------
Issues faced are....
Issues
1) Internet Explorer
It is working fine except on click document event it is not disabling Go button.
2) Mozilla
It needs double click on text box to display Go button.
Thanks and regards
Rajesh