Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a field on my web form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00923442
Message ID:
00923624
Vues:
33
This message has been marked as the solution to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform