alleyCat Posted February 28, 2006 Share Posted February 28, 2006 hi how to pass query string with one variable but more than one choices of value. eg: http://www.w3schools.com/index.html?id=20 or30 Link to comment Share on other sites More sharing options...
Pollux Posted February 28, 2006 Share Posted February 28, 2006 Generally the way to send multiple values for one property over the querystring is to simply duplicate the property, e.g. http://www.w3schools.com/index.html?id=20&id=30 Obviously, whether this is suitable will depend on how you plan to retrieve the values though. Link to comment Share on other sites More sharing options...
Siddhesh Posted March 1, 2006 Share Posted March 1, 2006 hi how to pass query string with one variable but more than one choices of value. eg: http://www.w3schools.com/index.html?id=20 or30<{POST_SNAPBACK}> You can use some special characters as seperator between two values. Like double Pipe / Comma / !!http://www.w3schools.com/index.html?id=20||30||40 And then on the target page you can split the variable and use it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now