Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Javascript Problem

Options
  • 28-10-2003 5:35pm
    #1
    Registered Users Posts: 648 ✭✭✭


    hi

    im passing a value through to a html page using the get method
    can anyone tell me how i simply grab that value using javascript

    eg www.myutl.html?searchvalue=demo

    how do i grab demo in my js on myutl.html??

    tnx


Comments

  • Closed Accounts Posts: 333 ✭✭McGintyMcGoo


    Have not touched javascript in years but ....

    Check this link out:
    Click here

    It involves breaking up the URL that was submitted to the page. There are plenty of sample routines to do this for you!

    var query = location.search.substring(1)


Advertisement