2 messages in com.googlegroups.google-code-searchcode in google search result
FromSent OnAttachments
naveen butola06 Sep 2007 05:31 
naveen butola11 Sep 2007 21:56 
Subject:code in google search result
From:naveen butola (nave@gmail.com)
Date:09/06/2007 05:31:28 AM
List:com.googlegroups.google-code-search

<html> <head> <script type="text/javascript"> function fillFacadeForm(ID_first,ID_second) {

document.getElementById(ID_first).value= document.getElementById(ID_second).value; }

function hello() { var fid=document.getElementById('uploadedFileParameterName'); alert(fid.value); // alert(document.getElementById('uploadedFileParameterName').value); }

var browser=navigator.appName; var b_version=navigator.appVersion; var version=parseFloat(b_version);

alert("Browser name: "+ browser);

</script>

<style type="text/css"> .fileUpload { /*-moz-opacity:0 ; filter:alpha(opacity: 0); -khtml-opacity: 0; */width:20px; }

.fileUpload_forsafari { /*-moz-opacity:0 ; filter:alpha(opacity: 0); -khtml-opacity: 0; */width:70px; }

.maintab { position: absolute; left: 10px;z-index: 1; margin-left:250px; }

.maintab_forsafari { position: absolute; left: 10px;z-index: 1; margin-left:400px;

}

</style> </head> <body >

<span class="maintab"> <input class="fileUpload" name="uploadedFileParameterName" id="uploadedFileParameterName" onKeyUp="fillFacadeForm('myFileText','uploadedFileParameterName');" onMouseOut="fillFacadeForm('myFileText','uploadedFileParameterName');" type="file" value=""> </span> <div style="position: absolute; left: 10px; z-index: 0;"> <input name="myFileText" id="myFileText" type="text" style="width: 400px"> </div> <div style="position: absolute; z-index: 0; margin-left:403px; margin- top:-1px;" > <input name="image" type="image" src="simple.jsp_files/browse.gif" border="0""> </div> <br>

<input type="button" onclick="hello()">

</body> </html>