[Redirecting Issue]

Discussion in 'JavaScript and AJAX' started by BasicX, Nov 4, 2007.

  1. BasicX

    BasicX New Member

    Joined:
    Nov 4, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Heyyyy Everyone I Really Liked The Forum And Hope Will Make It The Best..
    This Is My 1st Post..There's Something Driving Me Crazy..
    How Can I Make "Onsubmit" Do Two Actions...
    Or There's Another Way ??
    I Want To Validate Submit And Redirect It To Another Website...
    I Will Be Very Appreciated..
    Thanks :)
     
  2. BasicX

    BasicX New Member

    Joined:
    Nov 4, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Or If Not Possible..
    Can I Validate Form Without Redirect Me To for example Action=Site.com/php
    to post but look like nothing happened??
     
  3. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    48
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    Use an AJAX call to submit, and then redirect to another website!
     
  4. BasicX

    BasicX New Member

    Joined:
    Nov 4, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Thaaanks Alot Man..
    But Im Using A Free Website And It Doesnt Support PHP
    And Im Newbie :$
    Is Ajax Same As PHP ??
    So Ajax Call Work With Html ?
    That's My Sample
    form name="site" style="margin:0px;" method="POST"target="_top" action"post.php" onsubmit="return OnSigninSubmit(this);">
    :( Dying To Redirect It After submit
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice