Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a field on my web form
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00923442
Message ID:
00923695
Views:
37
Neil,
Thank you very much!
I'm glad you sent me that solution, because after looking at it I could tell, I was mistaken completely about knowing how to do it... I should have known that anyway... after all I wouldn't have called for help if I knew it!

Thanks!!
Rick

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform