You can't do it that way. You'll have to use an onchange handler, which will make it impossible for users without Javascript to navigate your site.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
You can't do it that way. You'll have to use an onchange handler, which will make it impossible for users without Javascript to navigate your site.
Hmm... OK. After some research on the above quote I think I have a grip on what you mean.
What about..........
With the current script & form I'm using, I don't even have "right button menu", with the option to open in a new window.
Is that possible or does that fall under the same that you describe above?
Opening in a new window isn't a problem. Generating the navigation process is. You can't activate links directly from a select box without Javascript intervention. The supporting Javascript is just a new window creation with the desired URL.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
You can open a new page from a selection list by using a server side script instead of Javascript provided that the form has a submit button. You can even combine the Javascript and server side options so that the submit button only needs to appear when Javascript is not available.
What do you send from the server to cause a new window to open with that page?
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Bookmarks