Results 1 to 2 of 2

Thread: Javascript validating

  1. #1
    Join Date
    Sep 2004
    Posts
    410
    Rep Power
    0

    Default Javascript validating

    Okay I need a little help... Can someone tell me the javascript to use to go to a webpage based on some validation for example

    if (a!=b)
    {
    alert blah blah

    }

    else
    {
    This is where i want it go str8 to a webpage (if its in this section i do that)
    }
    I havn't broken any terms of agreement right ?

  2. #2
    Join Date
    Oct 2004
    Posts
    338
    Rep Power
    0

    Default

    if (a!=b)
    {
    alert( 'blah blah' );
    }
    else
    {
    //This is where i want it go str8 to a webpage (if its in this section i do that)
    window.location="somewhee.com";
    }

Posting Permissions

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