<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Default input values using labels and Prototype</title>
	<atom:link href="http://lassebunk.dk/2009/07/15/default-input-values-using-labels-and-prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://lassebunk.dk/2009/07/15/default-input-values-using-labels-and-prototype/</link>
	<description>(Sorry, I don&#039;t have a tagline.)</description>
	<lastBuildDate>Thu, 20 May 2010 21:37:25 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jay K</title>
		<link>http://lassebunk.dk/2009/07/15/default-input-values-using-labels-and-prototype/comment-page-1/#comment-328</link>
		<dc:creator>Jay K</dc:creator>
		<pubDate>Tue, 30 Mar 2010 16:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://lassebunk.dk/?p=63#comment-328</guid>
		<description>I&#039;ve made a few changes to this to work around the problem where IE doesn&#039;t like to change the &quot;type&quot; attribute of an input element.  I create a new text field and toggle back and forth instead.  It also takes care of the problem with form.observe mentioned above (I think).  New code at http://gist.github.com/349231/.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve made a few changes to this to work around the problem where IE doesn&#8217;t like to change the &#8220;type&#8221; attribute of an input element.  I create a new text field and toggle back and forth instead.  It also takes care of the problem with form.observe mentioned above (I think).  New code at <a href="http://gist.github.com/349231/." rel="nofollow">http://gist.github.com/349231/.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://lassebunk.dk/2009/07/15/default-input-values-using-labels-and-prototype/comment-page-1/#comment-101</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 05 Nov 2009 12:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://lassebunk.dk/?p=63#comment-101</guid>
		<description>Hi Lasse

First, thanks for the tidy little script :)

I did run into some problems with IE (nothing unusual there :) - the script was throwing an error in IE versions 6 through to 8 (I&#039;m using IETester in a Parallels Windows XP install on a Mac, so the issue could lie there, but just in case anyone else runs into the same thing, read on).

I&#039;m no JS expert, but I had a play and found that if I changed line 46 from this:
    form.observe(&quot;submit&quot;, function(event) {

to this:
    Event.observe(dv_form, &#039;submit&#039;, function(event) {

it seemed to fix the issue. I have no idea why this would be so - since the same syntax &quot;(element).observe...&quot; is used without a problem elsewhere in the script. Maybe someone else could shed some light on this?

Anyway, thanks again,

dave</description>
		<content:encoded><![CDATA[<p>Hi Lasse</p>
<p>First, thanks for the tidy little script :)</p>
<p>I did run into some problems with IE (nothing unusual there :) &#8211; the script was throwing an error in IE versions 6 through to 8 (I&#8217;m using IETester in a Parallels Windows XP install on a Mac, so the issue could lie there, but just in case anyone else runs into the same thing, read on).</p>
<p>I&#8217;m no JS expert, but I had a play and found that if I changed line 46 from this:<br />
    form.observe(&#8221;submit&#8221;, function(event) {</p>
<p>to this:<br />
    Event.observe(dv_form, &#8217;submit&#8217;, function(event) {</p>
<p>it seemed to fix the issue. I have no idea why this would be so &#8211; since the same syntax &#8220;(element).observe&#8230;&#8221; is used without a problem elsewhere in the script. Maybe someone else could shed some light on this?</p>
<p>Anyway, thanks again,</p>
<p>dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lasse Bunk</title>
		<link>http://lassebunk.dk/2009/07/15/default-input-values-using-labels-and-prototype/comment-page-1/#comment-4</link>
		<dc:creator>Lasse Bunk</dc:creator>
		<pubDate>Sat, 18 Jul 2009 17:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://lassebunk.dk/?p=63#comment-4</guid>
		<description>Hey Rufor,

Thanks a lot :-) Gotta get used to Digg - I&#039;ve marked it now. Do people usually make the first Digg themselves?

Regards,
Lasse</description>
		<content:encoded><![CDATA[<p>Hey Rufor,</p>
<p>Thanks a lot :-) Gotta get used to Digg &#8211; I&#8217;ve marked it now. Do people usually make the first Digg themselves?</p>
<p>Regards,<br />
Lasse</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rufor</title>
		<link>http://lassebunk.dk/2009/07/15/default-input-values-using-labels-and-prototype/comment-page-1/#comment-3</link>
		<dc:creator>Rufor</dc:creator>
		<pubDate>Sat, 18 Jul 2009 17:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://lassebunk.dk/?p=63#comment-3</guid>
		<description>Hello,
Super post, Need to mark it on Digg
Thanks</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Super post, Need to mark it on Digg<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
