Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Forms and XHTML 1.1, an easy way?

Forms and XHTML 1.1, an easy way?
Thread Tools
Grizzled Veteran
Join Date: Dec 2000
Location: Málaga, Spain, Europe, Earth, Solar System
Status: Offline
Reply With Quote
Feb 19, 2004, 06:28 AM
 
First, I know I can use XHTML 1.0 Transitional, but I want to know if there is an easy way of dealing with forms and XHTML 1.1.

I want a popup selector, with URLs as their values to redirect to some particular URL. Much like the forum chooser at the end of this very page.

I have yet to find a way without using JavaScript or the like, there must be a way, or not?
     
eevyl  (op)
Grizzled Veteran
Join Date: Dec 2000
Location: Málaga, Spain, Europe, Earth, Solar System
Status: Offline
Reply With Quote
Feb 19, 2004, 06:38 AM
 
Mmm I found something, I had a uppercase messing around, so now this works:

Code:
<select class="popup" name="redirect" id="redirect" onchange="document.location=options[selectedIndex].value;">
However that won't work with JavaScript disabled ... mmm
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Feb 19, 2004, 07:24 AM
 
Originally posted by eevyl:
Mmm I found something, I had a uppercase messing around, so now this works:

Code:
<select class="popup" name="redirect" id="redirect" onchange="document.location=options[selectedIndex].value;">
However that won't work with JavaScript disabled ... mmm
Nope - you need server-side assistance if Javascript is disabled.
Computer thez nohhh...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:00 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2