ReportingAnalyst
MIS
Hi,
I am trying to grab the querystring of the link. In order to do that, I submit my form so that the textbox can have the value of the querystring.
But why does the textbox dissapear on submit of the form even I can see it momentarily?
My HTML code with the Javascript code is:
Any ideas how to submit the URL's querystring so that my textbox would grab it(which it is), but not dissapear from our view?
Thanks.
I am trying to grab the querystring of the link. In order to do that, I submit my form so that the textbox can have the value of the querystring.
But why does the textbox dissapear on submit of the form even I can see it momentarily?
My HTML code with the Javascript code is:
Code:
<HTML>
<HEAD>
<style type="text/css">
a.a_style:link {color:#0000ff; text-decoration:none;}
a.a_style:visited {color:#0000ff; text-decoration:none;}
a.a_style:hover {color:#ff0000; text-decoration:underline;}
a.a_style:hover {color:#ff0000; text-decoration:underline;}
</style>
<script type="text/javascript">
function s_Hide(el){
objID = 'UI_'+el
obj = document.getElementById(objID).style;
(obj.display == 'none')? obj.display = 'block' : obj.display = 'none';
document.form.submit();
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Organization</TITLE>
</HEAD>
<BODY>
<form name="commissionReports" method=post>
<input type="radio" checked name="empid" id="empid" value="22979" onClick="showReports(this.value)">
<a href="Organization_QS.asp?ID=1472" class="a_style" onclick="s_Hide('1472'); return false;">Reinhard Nagel</a><font size=1>(22979)</font><br>
<span id="UI_1472" style="display: none">
<input type="text" name="ID" id="ID_1472" value=1472>
</span>
</form>
</body>
</html>
Any ideas how to submit the URL's querystring so that my textbox would grab it(which it is), but not dissapear from our view?
Thanks.