onkeypress and .Net

Discussion in 'Javascript' started by Adam Kozlowski, Dec 11, 2003.

  1. Hello,
    I have big form with textbox, label, radiobutton..
    When user finish set case of search and press "enter" i have to run command
    in my codebehind "RunSearch()".
    I know, and I try simulate click on my search button, but this is not
    working :(

    btn = getElementById("ButtonSearch");
    btn.click();

    or

    Form.submit();

    Maybe you know how i can do this?

    Thx for help

    Adam
     
    Adam Kozlowski, Dec 11, 2003
    #1
    1. Advertisements

  2. Adam Kozlowski

    @SM Guest

    Adam Kozlowski a *crit :
    --
    **************************************************************
    St├ęphane MORIAUX : mailto:
    Aide aux Pages Perso (images & couleurs, formulaire, CHP, JS)
    http://perso.wanadoo.fr/stephane.moriaux/internet/
    **************************************************************
     
    @SM, Dec 11, 2003
    #2
    1. Advertisements

  3. I was write it, this method does't work :(

    Adam
     
    Adam Kozlowski, Dec 11, 2003
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.