<?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>Web Development &#38; Stuff &#187; jQuery</title>
	<atom:link href="http://web-development-blog.co.uk/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://web-development-blog.co.uk</link>
	<description>Some interesting findings from web-dev land...</description>
	<lastBuildDate>Mon, 02 Apr 2012 15:10:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CKEditor in iFrame / jQuery UI dialog top offset bug</title>
		<link>http://web-development-blog.co.uk/2010/10/15/ckeditor-in-iframe-jquery-ui-dialog-top-offset-bug/</link>
		<comments>http://web-development-blog.co.uk/2010/10/15/ckeditor-in-iframe-jquery-ui-dialog-top-offset-bug/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 16:37:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://web-development-blog.co.uk/?p=395</guid>
		<description><![CDATA[I had a couple of CKEditors in a jQuery UI dialog box today. The dialog box contained an iFrame with the actual CKEditors inside that.
On the odd occasion when the modal box opened (tested in FireFox 3.6 on the Mac and PC) the vertical scroll position of the iFrame would not be at the top. [...]]]></description>
			<content:encoded><![CDATA[<p>I had a couple of CKEditors in a jQuery UI dialog box today. The dialog box contained an iFrame with the actual CKEditors inside that.</p>
<p>On the odd occasion when the modal box opened (tested in FireFox 3.6 on the Mac and PC) the vertical scroll position of the iFrame would not be at the top. Instead it was focused on one of the lower CKEditors.</p>
<p>After some Googling and hacking and still no solution I placed this in each CKeditor onReady/instanceReady callback, which did the trick:</p>
<div class="codecolorer-container php " style="overflow:auto;white-space:nowrap;width:100%"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="font-family:Monaco,Lucida Console,monospace">CKEditor<span class="sy0">.</span>on<span class="br0">&#40;</span><span class="st0">&quot;instanceReady&quot;</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">&#40;</span>event<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; $<span class="br0">&#40;</span>window<span class="br0">&#41;</span><span class="sy0">.</span>scrollTop<span class="br0">&#40;</span><span class="nu0">0</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://web-development-blog.co.uk/2010/10/15/ckeditor-in-iframe-jquery-ui-dialog-top-offset-bug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stop Javascript event bubbling / propagation with nested html elements using jQuery</title>
		<link>http://web-development-blog.co.uk/2010/07/28/stop-javascript-event-bubbling-propagation-nested-html-elements/</link>
		<comments>http://web-development-blog.co.uk/2010/07/28/stop-javascript-event-bubbling-propagation-nested-html-elements/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 13:51:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://web-development-blog.co.uk/?p=359</guid>
		<description><![CDATA[You can stop nested elements triggering their parent element event handlers (DOM bubbling) using this handy jQuery method:
http://api.jquery.com/event.stopImmediatePropagation/
I ran into this issue whilst working on a calendar/scheduling app. Where day containing elements needed click events and their child elements needed click events too. 
Love the jQuery ;]
]]></description>
			<content:encoded><![CDATA[<p>You can stop nested elements triggering their parent element event handlers (DOM bubbling) using this handy jQuery method:</p>
<p><a href="http://api.jquery.com/event.stopImmediatePropagation/">http://api.jquery.com/event.stopImmediatePropagation/</a></p>
<p>I ran into this issue whilst working on a calendar/scheduling app. Where day containing elements needed click events and their child elements needed click events too. </p>
<p>Love the jQuery ;]</p>
]]></content:encoded>
			<wfw:commentRss>http://web-development-blog.co.uk/2010/07/28/stop-javascript-event-bubbling-propagation-nested-html-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access dynamic jQuery elements that have been added to the DOM after page has loaded</title>
		<link>http://web-development-blog.co.uk/2009/11/08/access-dynamic-jquery-elements-added-to-dom-after-page-has-loaded/</link>
		<comments>http://web-development-blog.co.uk/2009/11/08/access-dynamic-jquery-elements-added-to-dom-after-page-has-loaded/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 10:43:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://web-development-blog.co.uk/?p=229</guid>
		<description><![CDATA[If you wanted to manipulate elements you&#8217;d added to a page with jQuery after the DOM had loaded, you used to have to specify event handlers when adding them.
jQuery v1.3 has a handy new &#8216;live&#8217; method. Which basically allows you to access all elements, whether present at page load or added dynamically afterward with jQuery.
jQuery [...]]]></description>
			<content:encoded><![CDATA[<p>If you wanted to manipulate elements you&#8217;d added to a page with jQuery after the DOM had loaded, you used to have to specify event handlers when adding them.</p>
<p>jQuery v1.3 has a handy new &#8216;live&#8217; method. Which basically allows you to access all elements, whether present at page load or added dynamically afterward with jQuery.</p>
<p><a href="http://docs.jquery.com/Events/live">jQuery documentation</a></p>
<p>Quick click event example:</p>
<div class="codecolorer-container javascript " style="overflow:auto;white-space:nowrap;width:100%"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br />2<br />3<br /></div></td><td><div class="javascript codecolorer" style="font-family:Monaco,Lucida Console,monospace">$<span class="br0">&#40;</span><span class="st0">&quot;a.deleteRow&quot;</span><span class="br0">&#41;</span>.<span class="me1">live</span><span class="br0">&#40;</span><span class="st0">&quot;click&quot;</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; # Code to manipulate all matching elements added before or after the DOM has loaded.<br />
<span class="br0">&#125;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://web-development-blog.co.uk/2009/11/08/access-dynamic-jquery-elements-added-to-dom-after-page-has-loaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submit form with jQuery gotcha</title>
		<link>http://web-development-blog.co.uk/2009/10/29/submit-form-with-jquery-gotcha/</link>
		<comments>http://web-development-blog.co.uk/2009/10/29/submit-form-with-jquery-gotcha/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 15:40:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://web-development-blog.co.uk/?p=211</guid>
		<description><![CDATA[It seems that you can&#8217;t submit a form with jQuery using:
1$&#40;'form#myform'&#41;.submit&#40;&#41;;
If you have an input in the form with the name attribute set to submit. So this doesn&#8217;t work:
1&#60;input type=&#34;submit&#34; name=&#34;submit&#34; value=&#34;Press to continue&#34; /&#62;
Change the name attribute to something else other than submit and it works fine ;]
]]></description>
			<content:encoded><![CDATA[<p>It seems that you can&#8217;t submit a form with jQuery using:</p>
<div class="codecolorer-container css " style="overflow:auto;white-space:nowrap;width:100%"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br /></div></td><td><div class="css codecolorer" style="font-family:Monaco,Lucida Console,monospace">$<span class="br0">&#40;</span><span class="st0">'form#myform'</span><span class="br0">&#41;</span>.submit<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></td></tr></tbody></table></div>
<p>If you have an input in the form with the name attribute set to submit. So this doesn&#8217;t work:</p>
<div class="codecolorer-container css " style="overflow:auto;white-space:nowrap;width:100%"><table cellspacing="0" cellpadding="0"><tbody><tr><td class="line-numbers"><div>1<br /></div></td><td><div class="css codecolorer" style="font-family:Monaco,Lucida Console,monospace">&lt;input type<span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> name<span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> value<span class="sy0">=</span><span class="st0">&quot;Press to continue&quot;</span> /<span class="sy0">&gt;</span></div></td></tr></tbody></table></div>
<p>Change the name attribute to something else other than submit and it works fine ;]</p>
]]></content:encoded>
			<wfw:commentRss>http://web-development-blog.co.uk/2009/10/29/submit-form-with-jquery-gotcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

