<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Extending Prototype Element, Form and Form.Element Methods</title>
	<link>http://www.pluitsolutions.com/2007/03/02/extending-prototype-element-form-and-formelement-methods/</link>
	<description>Web Development and Design, and Anything That Matters</description>
	<pubDate>Fri, 25 Jul 2008 11:53:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: Herryanto Siatono</title>
		<link>http://www.pluitsolutions.com/2007/03/02/extending-prototype-element-form-and-formelement-methods/#comment-35079</link>
		<pubDate>Wed, 11 Jul 2007 02:59:23 +0000</pubDate>
		<guid>http://www.pluitsolutions.com/2007/03/02/extending-prototype-element-form-and-formelement-methods/#comment-35079</guid>
					<description>Seth, I tested on my site, it worked fine, I got the alert. Can you try to use Firebug to debug? Something must have gone wrong some where. Good luck.</description>
		<content:encoded><![CDATA[<p>Seth, I tested on my site, it worked fine, I got the alert. Can you try to use Firebug to debug? Something must have gone wrong some where. Good luck.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: seth</title>
		<link>http://www.pluitsolutions.com/2007/03/02/extending-prototype-element-form-and-formelement-methods/#comment-35051</link>
		<pubDate>Tue, 10 Jul 2007 15:58:03 +0000</pubDate>
		<guid>http://www.pluitsolutions.com/2007/03/02/extending-prototype-element-form-and-formelement-methods/#comment-35051</guid>
					<description>Hope this doesn't get mangled, but I tried

&lt;pre&gt;
Object.extend(Form.Element.Methods,{
  activate: function(element) {
    alert(&quot;activate2&quot;);
    element = $(element);
    element.focus();
    if (element.select)
      element.select();
    return element;
  }
});

Element.addMethods();
&lt;/pre&gt;

and my app is still using the original activate() method. Any ideas?</description>
		<content:encoded><![CDATA[<p>Hope this doesn&#8217;t get mangled, but I tried</p>
<p><pre><pre>
Object.extend(Form.Element.Methods,{
  activate: function(element) {
    alert("activate2");
    element = $(element);
    element.focus();
    if (element.select)
      element.select();
    return element;
  }
});

Element.addMethods();
</pre></pre></p>
<p>and my app is still using the original activate() method. Any ideas?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
