Running Perl script in the backend from Html

Discussion in 'Perl Misc' started by satish2112@gmail.com, Sep 13, 2007.

  1. Guest

    following is my Html code:

    <form name="form100" method="post" action="script.pl">
    <textarea cols = "160" rows="12" name="TextArea1" > </textarea>
    <input align = "left" name="UpdateButton" type= "submit"
    value="Update" >

    in the above code, if i click on submit button, a webpage is opened
    and the script in script.pl is executed.

    is there any way such that another web-page is not opened and the
    script is run in the backend?

    Please help me!!
     
    , Sep 13, 2007
    #1
    1. Advertising

  2. wrote:
    > following is my Html code:
    >
    > <form name="form100" method="post" action="script.pl">
    > <textarea cols = "160" rows="12" name="TextArea1" > </textarea>
    > <input align = "left" name="UpdateButton" type= "submit"
    > value="Update" >
    >
    > in the above code, if i click on submit button, a webpage is opened
    > and the script in script.pl is executed.
    >
    > is there any way such that another web-page is not opened and the
    > script is run in the backend?
    >
    > Please help me!!


    I tried...

    http://groups.google.com/group/comp.lang.perl.misc/msg/7ef1507bf9b74338

    Why do you ignore the reply you got so far??

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
     
    Gunnar Hjalmarsson, Sep 13, 2007
    #2
    1. Advertising

  3. Ken Guest

    Gunnar Hjalmarsson wrote:
    > wrote:
    >> following is my Html code:
    >>
    >> <form name="form100" method="post" action="script.pl">
    >> <textarea cols = "160" rows="12" name="TextArea1" > </textarea>
    >> <input align = "left" name="UpdateButton" type= "submit"
    >> value="Update" >
    >>
    >> in the above code, if i click on submit button, a webpage is opened
    >> and the script in script.pl is executed.
    >>
    >> is there any way such that another web-page is not opened and the
    >> script is run in the backend?
    >>
    >> Please help me!!

    >
    > I tried...
    >
    > http://groups.google.com/group/comp.lang.perl.misc/msg/7ef1507bf9b74338
    >
    > Why do you ignore the reply you got so far??
    >

    You could also use ajax to do the submit.
     
    Ken, Sep 17, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    1,824
  2. Ted
    Replies:
    1
    Views:
    428
  3. Replies:
    1
    Views:
    203
    Gunnar Hjalmarsson
    Sep 11, 2007
  4. Replies:
    4
    Views:
    298
    ccc31807
    Jul 29, 2011
  5. Replies:
    1
    Views:
    141
Loading...

Share This Page