onChange input element

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MATTXtwo
    New Member
    • Sep 2006
    • 83

    onChange input element

    I want to use vbscript for onChange method not in javascript for example
    Code:
    <input type="text" id="Tarikh1" name="Tarikh1" maxlength="30" size="30" class="txtbox" value="<%=session("Tarikh_Lahir")%>" onChanged="Geta(this.value)">function Geta(values){
    alert(Geta
    //others code for me to fill)}
    Can you guys give me the ideas
  • JamieHowarth0
    Recognized Expert Contributor
    • May 2007
    • 537

    #2
    Hi there,

    Are you saying you want server-side code to handle a client-side (onchange) event? Or you want client-side VBScript code to handle the onchange?

    If the first one, then you should look at ASP.NET as it has the ability to automatically postback when an event is fired, and to handle the event appropriately.
    If the second one, your code already does what you are asking.

    codegecko

    Comment

    Working...