|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
How do i retrieve information from the address bar or assign javascript varibles to form boxes from another page.
|
|
#2
|
||||
|
||||
|
There are a few ways to retrieve data form the querystring.
One is using this method, which uses the window.location.search.substring property. The other is to get a hold of this guy's request.querystring library, which mimics ASP's request object. |
|
#3
|
|||
|
|||
|
2 b able to do this u will have 2 use the window.location property. this gives u the address bar stuff
'window.location.href ' will give u the complete address bar content 'window.location.search' will return all thats after the '?' sign, including the sign u can then perform a 'split()' to get to the exact value u want hope this helps ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > retrieving information from the address bar |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|