A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: is it possible to send a variable from an input text box on click enter

  1. #1

    is it possible to send a variable from an input text field on keyPress enter

    Hi there

    is it possible to send a variable from an input text field: on keyPress enter, and how
    [Edited by mmsag on 09-12-2002 at 06:45 AM]

  2. #2
    Senior Member
    Join Date
    Apr 2000
    Location
    Northern Ireland
    Posts
    2,146
    Make a SUBMIT button with this script on it:
    Code:
    on (release, keyPress "<Enter>") {
        loadVariables("myPage.php", "this", "POST");
    }
    That should work ... if you don't want the button to be clicked (i.e. if you want just a keypress), make the button invisible and remove the "release" handler.

  3. #3
    Great it's working perfectly....

    Thanks for your time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center