| Replies
|
|
|
Zimmy
|
Posted at 4:10 am on July 5, 2008 |
| Your not going to do it in straight HTML. Period. You'll need to use PHP, Perl, or ASPX depending on your web server and what it supports. Best coding stragedy would be a select block with all the potential options for ?state=. This would be done in a standard "select case", and also allow a generic handler (if it doesn't match any of your specified strings) to lead to an error page and/or the default page. |
|
|
sakurag
|
Posted at 3:16 pm on June 30, 2008 |
| This really depends on the language you are writing your pages in. In the simplest terms, you can use some sort of switch method and have the 'default' or 'error' condition send you to the other page. For extra points, make sure that all errors have a case. This way, in the future, you do not have to modify the page much to add additional functionality. |
|
|
i who have nothing
|
Posted at 6:42 pm on June 25, 2008 |
| Umm. I'm not sure how to do it in JS but in PHP you'd just do | Code: | $state = $_GET['state']; if ( $state == 'AL' ) { do this } if ( $state == 'something else') { do this } | So yeah. Just google JS and the GET function. |
|
|
icecreambar
|
Posted at 6:37 pm on June 25, 2008 |
| Post from this position was omitted due to content violations |
|
|
iiloveeyouu
|
Posted at 6:34 pm on June 25, 2008 |
| Post from this position was omitted due to content violations |
|
|
blessedbeaut8
|
Posted at 6:34 pm on June 25, 2008 |
| Post from this position was omitted due to content violations |
|
|
smarty
|
Posted at 6:34 pm on June 25, 2008 |
| Post from this position was omitted due to content violations |
|
|
All 7 previous replies displayed. |