Rick,
Try this. Make certain you have the TextBox's ID.
<script language = 'javascript'>
function GetTextBoxValue{
var oTextBox = document.getElementById('TextBoxID')
return oTextBox.value
}
</script>
Check out:
http://www.mozilla.org/docs/dom/domref/dom_doc_ref48.html >It must be one of those days!
>I'm completely drawing a blank. I hope someone can remind me...
>I have a Web form with a textbox and a HTML button on the page.
>When the user clicks the HTML button it calls a VBScript. In the subroutine in the VBScript I want to access the current value of the textbox and pass that value on as a parameter to another function. The other function is a call to an ActiveX component (ctAalarm.OCX)
>The value of the textbox is the time I want to send to the ActiveX alarm.
>
>TIA,
>Rick