Hi guys, I have a problem here. I have created a textbox and a button for search function, how do I get it to work without using forms?
Here is the code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Public Folder Help Desk</title>
<script id=clientEventH andlersVBS language=vbscri pt>
<!--
Sub cmdSearch_oncli ck
End Sub
-->
</script>
</head>
<body>
<input type="text" name="txtSearch " size="18" tabindex="2">
<input type="button" value=" Search " name="cmdSearch " tabindex="3">
</body>
</html>
What must I enter in the Sub cmdSearch_oncli ck if I want to get the value where the user enters in the textbox?
Here is the code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Public Folder Help Desk</title>
<script id=clientEventH andlersVBS language=vbscri pt>
<!--
Sub cmdSearch_oncli ck
End Sub
-->
</script>
</head>
<body>
<input type="text" name="txtSearch " size="18" tabindex="2">
<input type="button" value=" Search " name="cmdSearch " tabindex="3">
</body>
</html>
What must I enter in the Sub cmdSearch_oncli ck if I want to get the value where the user enters in the textbox?
Comment