How to call the Text_changed event from javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Raghu Raman

    How to call the Text_changed event from javascript




    Hi ,

    I ve a aspx page with a textbox.I have created the Text_Changed event
    for this textbox.We know that , this will be fired when we enter any
    text in that textbox and pressing the enter key.quite natural.

    I am putting some text in that text box thru javascript from the
    window_onfocus event.

    After that , i need that the text_changed(se rver event) event to be
    fired,so that i could perform some search operation.

    Could you please tell me how can i call the Text_changed server event
    from the javascript.


    With thanks
    Raghu(a drop in the ocean)







    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Hal Rosser

    #2
    Re: How to call the Text_changed event from javascript

    >[color=blue]
    > Hi ,
    >
    > I ve a aspx page with a textbox.I have created the Text_Changed event
    > for this textbox.We know that , this will be fired when we enter any
    > text in that textbox and pressing the enter key.quite natural.
    >
    > I am putting some text in that text box thru javascript from the
    > window_onfocus event.
    >
    > After that , i need that the text_changed(se rver event) event to be
    > fired,so that i could perform some search operation.
    >
    > Could you please tell me how can i call the Text_changed server event
    > from the javascript.[/color]

    Javascript executes on the user's browser.
    The asp code executes on the server.
    Unless you submit the form every keystroke, I don't see a way.-
    - and you don't want to do that.



    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.781 / Virus Database: 527 - Release Date: 10/21/2004


    Comment

    Working...