<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Beyond Coding &#187; HTML / CSS</title>
	<atom:link href="http://www.beyondcoding.com/category/html-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beyondcoding.com</link>
	<description>Follow us on Twitter: @fredwu and @scotti3g</description>
	<lastBuildDate>Tue, 28 Jun 2011 11:33:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Option selected=&#8221;selected&#8221; not working?</title>
		<link>http://www.beyondcoding.com/2008/12/16/option-selectedselected-not-working/</link>
		<comments>http://www.beyondcoding.com/2008/12/16/option-selectedselected-not-working/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 11:55:51 +0000</pubDate>
		<dc:creator>scotti3g</dc:creator>
				<category><![CDATA[HTML / CSS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.beyondcoding.com/?p=137</guid>
		<description><![CDATA[If you ever have an HTML select that doesn&#8217;t want to default to the option you&#8217;ve added selected=&#8221;selected&#8221; to, it may not be a problem in your code. It may be due to Firefox&#8217;s behaviour. Firefox seems to always default to the option selected by a user instead of the option that has the selected=&#8221;selected&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever have an <em>HTML select</em> that doesn&#8217;t want to default to the option you&#8217;ve added <em>selected=&#8221;selected&#8221;</em> to, it may not be a problem in your code. It may be due to Firefox&#8217;s behaviour.</p>
<p>Firefox seems to always default to the option selected by a user instead of the option that has the <em>selected=&#8221;selected&#8221;</em> tag &#8211; even on a page refresh (without even first POSTing the data)! Copy and paste the URL into another browser tab/window and it&#8217;ll most likely work fine&#8230; :)</p>
<p>Internet Explorer doesn&#8217;t have this problem (surprisingly).</p>

	Tags: <a href="http://www.beyondcoding.com/tag/firefox/" title="Firefox" rel="tag">Firefox</a>, <a href="http://www.beyondcoding.com/tag/html/" title="html" rel="tag">html</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.beyondcoding.com/2009/02/03/must-have-for-multiple-gmail-attachments-dragdropupload/" title="Must-have for multiple Gmail attachments &#8211; dragdropupload (February 3, 2009)">Must-have for multiple Gmail attachments &#8211; dragdropupload</a> (0)</li>
	<li><a href="http://www.beyondcoding.com/2008/03/13/macbook-pro-arrived-iphone-on-its-way/" title="Macbook Pro arrived, iPhone on its way :) (March 13, 2008)">Macbook Pro arrived, iPhone on its way :)</a> (4)</li>
	<li><a href="http://www.beyondcoding.com/2008/04/12/firefox-on-os-x-and-linux-spell-check-and-mouse-gestures/" title="Firefox on OS X and Linux: Spell Check and Mouse Gestures (April 12, 2008)">Firefox on OS X and Linux: Spell Check and Mouse Gestures</a> (5)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.beyondcoding.com/2008/12/16/option-selectedselected-not-working/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

