Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > PHP Programming
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 10-18-2009, 01:06 PM
  #16
uze
Aspirant (Level 2)
 
Join Date: Jul 2008
Posts: 14
iTrader: (0)
uze is on a distinguished road
oops, my bad. Confused matters a little by leaving the value in select (I meant to remove).

Glad it all makes sense now & a solution has been found
uze is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-18-2009, 07:54 PM
  #17
Horus_Kol
Mod of the Underlay
 
Horus_Kol's Avatar
 
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,242
iTrader: (0)
Horus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of light
Quote:
Originally Posted by Vege View Post
PHP Code:
select id="select1" name="select1" class="dropper" >
<option <?php echo ($select1=="none") ?" selected=\"selected\" ":""?>  value="none">None</option>
<option <?php echo ($select1=="option1") ?" selected=\"selected\" ":""?> value="option1">Option1</option>
<option <?php echo ($select1=="option2") ?" selected=\"selected\" ":""?>  value="option2">Option2</option>
<option <?php echo ($select1=="optio3") ?" selected=\"selected\" ":""?>  value="option3">Option3</option>
</select>
Select don't have a value or selected property. Those are option propertys.
Name property belogns to select, not option.
And as peg stated no same ID:s

This should make it work, im done with this thread.
Hi Vege - I would have voted this answer up, but the system won't let me give reputation (in either direction it seems) until I spread it around some more...

This is a good answer, though...
__________________
Personal Blog (and photos): HorusKol
Articles on Programming and Development (PHP/HTML/CSS, C/C++, more): RandomTweak

The great secret that no SEO agent wants you to hear: if you build your website using w3c accessibility guidelines and your content is written for people, you will do better for longer in search engines than any other method...
Horus_Kol is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-19-2009, 06:35 AM
  #18
Vege
Super Deity (Level 18)
 
Join Date: Sep 2004
Location: Finland
Posts: 3,410
iTrader: (0)
Vege is just really niceVege is just really niceVege is just really niceVege is just really nice
Quote:
Originally Posted by Horus_Kol View Post
Hi Vege - I would have voted this answer up, but the system won't let me give reputation (in either direction it seems) until I spread it around some more...

This is a good answer, though...
Same goes for "Trigonometry" thread, i have to spread love some more.
But usually i don't write code like coothead does, imho good answers are not always direct answers.
Vege is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:53 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.