<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Joe Sergeant</title>
	
	<link>http://joesergeant.com</link>
	<description>My name is Joe Sergeant and I eat UI design for breakfast, XHTML &amp; CSS for lunch and PHP for dinner.</description>
	<lastBuildDate>Tue, 13 Apr 2010 22:05:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/joesergeant" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="joesergeant" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Initial thoughts on iPhone OS 4.0</title>
		<link>http://joesergeant.com/blog/initial-thoughts-on-iphone-os-4-0/</link>
		<comments>http://joesergeant.com/blog/initial-thoughts-on-iphone-os-4-0/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 21:33:29 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.joesergeant.co.uk/?p=350</guid>
		<description><![CDATA[The beta is buggy as hell, but the new features in iPhone OS 4.0 are welcomed with greasy fingers.]]></description>
			<content:encoded><![CDATA[<p>Last week saw the preview event for the upcoming 4.0 version of the iPhone operating system. Paying Apple Developers can download the beta to pore over, so being the chump that I am, that&#8217;s exactly what I did.</p>
<p>For now you can only install the beta of OS 4.0 if you are using a Mac, so it was up to the trusty <a href="http://www.apple.com/macbookair/">MacBook Air</a> to get the job done. Installing (or should I say &#8220;Restoring&#8221;) OS 4.0 was a breeze through iTunes. My only caveat was when it came to activate the phone. However, A quick trip to the Apple Developers site to pair my device ID with my developer account and I was on my way.</p>
<p>Primarily I&#8217;m a designer before a developer and I have no real experience in developing apps for the iPhone, <a href="http://joesergeant.com/blog/prowlr-your-tv-companion-my-first-proper-web-app/">unless you count web apps</a>. I hope to change this over the coming months, but for now I was curious to see what immediate benefits the end-user would gain from 4.0.</p>
<h3>Customisation? Steady on!</h3>
<div id="attachment_356" class="wp-caption alignright" style="width: 234px"><a href="http://joesergeant.com/wp-content/uploads/2010/04/IMG_4023.png"><img class="size-full wp-image-356 " title="4.0 Home Screen" src="http://joesergeant.com/wp-content/uploads/2010/04/IMG_4023.png" alt="" width="224" height="336" /></a><p class="wp-caption-text">Customisable home screen background and redesigned dock</p></div>
<p>Far be it from a &#8220;tentpole&#8221; feature, the customisable home screen background is the first thing you notice in OS 4.0. It&#8217;s by no means an original or groundbreaking feature, but it is a welcome change from the solid black that many have become accustomed to. However, I did feel a little bit embarrassed for Mr Jobs during the keynote when he decided to demo the feature (at least twice) to a crowd of developers. We have also been blessed with a redesigned dock, which now takes design cues from the dock in OS X and on the <a href="http://www.apple.com/ipad/">iPad</a>. It&#8217;s a definite improvement on the previous dock, which had started to look a bit dated.</p>
<h3>Multitasking, sort of, finally&#8230;</h3>
<p>The main touted feature has been multitasking, or for the time being at least, fast app switching. At the time of writing there are (to the best of my knowledge) no apps that have been updated to take advantage of Apple&#8217;s multitasking APIs. As a consumer I am most excited about background audio, being a keen supporter of Spotify Premium. I love Spotify so much that since installing OS 4.0 I haven&#8217;t even bothered to sync any music from my iTunes library, Spotify caters for 99% of my music requirements.</p>
<h3>Putting applications into folders, a novel concept</h3>
<div id="attachment_357" class="wp-caption alignleft" style="width: 234px"><a href="http://joesergeant.com/wp-content/uploads/2010/04/IMG_4024.png"><img class="size-full wp-image-357 " title="4.0 Folders" src="http://joesergeant.com/wp-content/uploads/2010/04/IMG_4024.png" alt="" width="224" height="336" /></a><p class="wp-caption-text">Expanded folder view in OS 4.0</p></div>
<p>I think my favourite addition in 4.0 is the new folders feature. I don&#8217;t know about you but I have a fair few apps and having the ability to organise these now is a godsend. It was a royal pain to try and segment different categories of apps onto different pages in some convoluted attempt to keep everything organised. The functionality and the UI design is pretty much there, although I&#8217;m not overly keen on the background texture they&#8217;ve opted to use for expanded folders. It&#8217;s also a slight annoyance that each folder can only hold a total of 12 applications. I don&#8217;t see why you shouldn&#8217;t be able to scroll within a folder, but that&#8217;s just me.</p>
<p>There are of course <a href="http://www.apple.com/iphone/preview-iphone-os/">more features in iPhone OS 4.0</a>, I just wanted to provide a quick overview of the ones I&#8217;m most excited about.</p>
<h3>Nobody&#8217;s perfect</h3>
<p>I&#8217;ve tried to test multiple Exchange accounts, without a great deal of success. This may be a server or account setup issue over a 4.0 bug so for the time being I&#8217;m willing to let that slide. Being a beta there are of course bugs; here are just some of the UI ones I&#8217;ve stumbled across so far:</p>
<ul>
<li>Deleting the most recent photo from your Camera Roll doesn&#8217;t update the icon in the camera app</li>
<li>Sending an SMS or MMS causes the conversation to jump around until it has finished sending the message</li>
<li>In some scenarios the camera app toggle switch used for selecting photo or video disappears</li>
<li>Attempting to MMS a photo straight from the Camera Roll results in the &#8220;Send&#8221; button disappearing</li>
</ul>
<h3>Final (preliminary) thought</h3>
<p>4.0 is a necessary and welcome progression of the iPhone software. However, I would have really liked to have seen a <a href="http://www.teehanlax.com/blog/2009/09/22/iphone-needs-a-new-home/" target="_blank">revised home screen</a> announced, similar to that of Android and Windows Mobile 6.x. Having a badge icon on top of the relevant icon simply isn&#8217;t enough, especially for business users. A bit more customisation with the message alerts wouldn&#8217;t go amiss either. Seriously, how hard can it be &#8211; we can already customise the ringtone, to an extent.</p>
<p>Say what you like about Apple, I believe they still have a winner with the iPhone. They&#8217;ve done what they&#8217;re best at; take an existing product and made it friendlier and more marketable to the masses. Having said that, ever since introducing the iPhone the competition has soared and I can&#8217;t wait to get my hands on a Windows Phone 7 device later on this year to see how it compares. With Android also gaining more popularity as big mobile manufacturers take the plunge, 2010 is set to be a great year for the consumer.</p>
<p>I can only hope that Apple release a killer hardware update in the Summer to keep the playing field equal, otherwise I fear that not even the mighty app store can prevent them from falling behind.</p>
]]></content:encoded>
			<wfw:commentRss>http://joesergeant.com/blog/initial-thoughts-on-iphone-os-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prowlr – Your TV Companion, My First Proper Web App</title>
		<link>http://joesergeant.com/blog/prowlr-your-tv-companion-my-first-proper-web-app/</link>
		<comments>http://joesergeant.com/blog/prowlr-your-tv-companion-my-first-proper-web-app/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 21:37:25 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.joesergeant.co.uk/?p=310</guid>
		<description><![CDATA[A few weeks ago Prowlr was born; a web app for the iPhone to tabs on your favourite TV shows. Here I talk about how it came to be and how I built it.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve officially been bitten by the iPhone web app development bug. After my first venture into web apps with the <a href="/blog/my-24-countdown-clock-iphone-web-app/">24 Season 8 Countdown Clock</a> it was time to attempt something with a bit more meat to it. I set myself the challenge of creating an iPhone web app to track a user&#8217;s favourite TV shows, tell them when the next episode was airing and give them a weekly planner.</p>
<h3>A bit of background</h3>
<p>I follow a lot of American TV shows and used <a href="http://www.tvrage.com">TVRage</a> to find out when the next episode for each of my shows was airing. This was great, but I was becoming increasingly frustrated by navigating the TVRage website on my iPhone. Using the TVRage API I quickly threw together a quick &#8220;web app&#8221; which simply listed out the shows I follow and displayed when the next episode was on. As I neared completion I realised that some of my friends, and others too, may also find this a useful thing to have. With the help of my good friend Mark, <a href="http://prowlr.tv">Prowlr</a> was conceptualised, brainstormed and born.</p>
<h3>Design considerations</h3>
<p>Deciding on the appearance of the app was pretty straightforward. I wanted to promote the familiar components of the iPhone user interface, whilst adding in my own unique styling and functional elements to set it apart from a generic app. The design for the app was done in <a href="http://www.adobe.com/products/fireworks/">Adobe Fireworks CS4</a>, which is my personal design application of choice.</p>
<p>Certain considerations had to be kept in mind when designing an iPhone web app:</p>
<ul>
<li>Buttons should be larger than normal to facilitate ease of access</li>
<li>Text should be sized reasonably to ensure legibility</li>
<li>Use of white space kept to a minimum to make the most use of the available viewport</li>
</ul>
<h3>Navigating pages in a web app</h3>
<p><strong><span style="font-weight: normal; font-size: 13px;">Early on I discovered my first big &#8220;gotcha!&#8221; in developing an iPhone web app; you can&#8217;t link to separate pages if you want your users to be able to launch your app from their home screen. If you do, your web app is closed and the new page opens in a bog standard Safari window. Not ideal.</span></strong></p>
<p>This was resolved with a fantastic plugin called <a href="http://ironfroggy.github.com/hashtrack/">hashtrack.js</a> which provides an easy way to handle navigating pages. Below is a very cut down example of how I implemented the plugin in Prowlr, using the <a href="http://jquery.com">jQuery library</a>.</p>
<pre class="brush: jscript;">

$(function() {
    hashtrack.onhashvarchange('page', function(value) {
        initPage(value);
    });
});

function initPage(data) {
    $('#content').load('pagehandler.php?p=' + data);
}
</pre>
<p>Hopefully this is pretty straightforward to grasp. Basically, when the hashtrack plugin detects that the<strong><em> #page</em></strong> value has changed, it passes the value into my <strong><em>initPage</em></strong> function. The <strong><em>initPage </em></strong>function takes that value and appends it to the end of a file request. The requested PHP file uses that value to determine which page content to display, whether it&#8217;s the login form, a list of shows, etc. and loads that into a &lt;div&gt; with the ID of &#8216;content&#8217;. Changing between pages is simply a case of linking to a &#8216;page&#8217; &#8211; <strong><em>&lt;a href=&#8221;#page=home&#8221;&gt;Home&lt;/a&gt;</em></strong>.</p>
<h3>Obtaining TV series information</h3>
<p>I mentioned TVRage earlier. They have a fantastic database of TV series and also provide an API to request data from their database. I initially used their API to populate my own database with TV series information, but found it quite a cumbersome process. The main quarrel I had with it was that the XML files they provided weren&#8217;t always presented in a logical way, which made extracting data from them a bit cumbersome.</p>
<p>After a quick session on Google I stumbled across <a href="http://thetvdb.com">TheTVDB.com</a>, a user-driven TV database with a far superior API. Changing providers mid-development wasn&#8217;t ideal, but it did give me a chance to perform a quick code review and tighten up some of the functions used to process data from an external source.</p>
<p>When a user searches for a TV series, Prowlr does a live search on their API to see if the show exists. It returns any matches as a list of seriesand gives the user the option to add each to their favourites. When a user does add a series, a process is triggered:</p>
<ol>
<li>Make sure that the user doesn&#8217;t already have the series in their favourites</li>
<li>Check our local database to see if we have any data for that series; if we don&#8217;t, request the full series information (including episode data) from the API</li>
<li>Remove the series from the user&#8217;s search results</li>
</ol>
<h3>Keeping the TV series data current</h3>
<p>One of the main benefits that TheTVDB.com has over TVRage is when it comes to updating series information. Every hour I request a file from TheTVDB.com, which contains a list of all series and episode IDs on TheTVDB.com that have changed since the last update. With each ID returned I check our local database to see if any of those series IDs match. If there is a match, pass the series ID into my update script, which grabs the latest series data from their API. It&#8217;s a similar process when it comes to updating individual episode information.</p>
<h3>Prowlr in the wild</h3>
<p>At the time of writing, Prowlr has had 2,140 users sign up since our launch a few weeks ago. This is mainly due to Prowlr becoming a featured web app and a staff pick in the Apple Web Apps Directory. It has been an interesting to see how my code has stood up to the number of users accessing it on a daily basis. To date there hasn&#8217;t been any significant problems to speak of and miraculously the system has scaled up rather well. User feedback has been great, too; there have been really positive comments on the AVForums, Twitter and various other places.</p>
<h3>Plans for the future</h3>
<p>I&#8217;d be lying if I said there weren&#8217;t any plans to extend Prowlr; full details will be released in the near future. One thing that the new version of Prowlr will sport is a refreshed user interface and enhanced usability. There will also be some great new features introduced, all designed to make Prowlr the best free web app out there to keep tabs on your favourite TV shows.</p>
<p>If you have an iPhone or an iPod touch, please check it out &#8211; <a href="http://prowlr.tv">prowlr.tv</a></p>
]]></content:encoded>
			<wfw:commentRss>http://joesergeant.com/blog/prowlr-your-tv-companion-my-first-proper-web-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Detect if iPhone web app was launched from home screen</title>
		<link>http://joesergeant.com/blog/detect-if-iphone-web-app-was-launched-from-home-screen/</link>
		<comments>http://joesergeant.com/blog/detect-if-iphone-web-app-was-launched-from-home-screen/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 11:24:47 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.joesergeant.co.uk/?p=300</guid>
		<description><![CDATA[Thanks to Apple's documentation, detecting if my web app was launched from the home screen was a surprisingly painless process!]]></description>
			<content:encoded><![CDATA[<p>Following on from my <a href="/blog/my-24-countdown-clock-iphone-web-app/">24 Countdown Clock web app</a>, I&#8217;ve been working on more feature-rich iPhone web application, which will hopefully be launched later on this week(!). For the best experience I&#8217;m trying to encourage users to add the app to their home screen. This allows them to launch it from a friendly icon on their home screen and also strips away the Safari browser elements, such as the address bar, navigation bar, etc.</p>
<p>I wanted to display a gentle reminder to users who hadn&#8217;t launched the app from their home screen, but I also didn&#8217;t want to intrude on users who already had done this.</p>
<p>Reading through Apple&#8217;s <a href="http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariHTMLRef/Introduction.html#//apple_ref/doc/uid/30001261">Safari Reference Library</a> again, I came across a snippet I&#8217;d missed the first time around.</p>
<pre class="brush: jscript;">window.navigator.standalone</pre>
<p>This returns a boolean <strong>true </strong>or <strong>false</strong> depending on the outcome, which can be translated into a simple code example:</p>
<pre class="brush: jscript;">if (window.navigator.standalone) {
   alert ('Thanks for launching this app your home screen')
} else {
   alert('Add this app to your home screen for the best experience')
}</pre>
<p>You could modify the example to show/hide a friendlier message, or something completely different!</p>
]]></content:encoded>
			<wfw:commentRss>http://joesergeant.com/blog/detect-if-iphone-web-app-was-launched-from-home-screen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My 24 Countdown Clock iPhone Web App</title>
		<link>http://joesergeant.com/blog/my-24-countdown-clock-iphone-web-app/</link>
		<comments>http://joesergeant.com/blog/my-24-countdown-clock-iphone-web-app/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 11:35:59 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[24]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.joesergeant.co.uk/?p=257</guid>
		<description><![CDATA[How I built my first iPhone web application to feed my 24 addiction]]></description>
			<content:encoded><![CDATA[<div class="post-image"><a href="http://www.joesergeant.co.uk/wp-content/uploads/2009/12/24webapp.jpg"><img class="size-full wp-image-275 alignnone" title="24 Countdown iPhone Web Application Screenshot" src="http://www.joesergeant.co.uk/wp-content/uploads/2009/12/24webapp.jpg" alt="24 Countdown iPhone Web Application Screenshot" /></a></div>
<p>Co-workers of mine will admit (with a sigh) that I am a HUGE fan of the television show &#8220;24&#8243;. Early in January of a new year a group of us get together with some pizzas, beers and watch the 4 hour premiere via a projector and some big speakers. It&#8217;s sort of become a tradition these days and as long as they keep making new seasons, we&#8217;ll keep doing it.</p>
<p>Seeing as everyone who attends our makeshift premiere now has an <a href="http://www.apple.com/iphone/">iPhone</a>, I decided to create a <a href="http://joeserg.com/24/">24 Countdown Clock</a> iPhone web application.</p>
<p>Designing and developing for the iPhone is, on the whole, a dream. You only have to worry about it looking right in one browser and if it looks right on yours it&#8217;s going to look right on every other iPhone owner&#8217;s browser too.</p>
<p>Apple has some <a href="http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/Introduction/Introduction.html">great documentation</a> on developing web applications on the iPhone. For my web application I used several of their meta tags and a link tag, all of which I&#8217;ve detailed in this blog post.</p>
<p>As with all meta tags, these should be placed in the &lt;head&gt; section of your HTML.</p>
<div class="code-wrapper">
<div class="code">
<pre class="brush: text">&lt;meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /&gt;</pre>
</div>
</div>
<p>This meta tag is the first fundamental step to creating your own web application. By setting the <a href="http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html">viewport</a> width and scaling options it disables the user&#8217;s ability to zoom into your web application, giving it the behaviour of a native iPhone application.</p>
<div class="code-wrapper">
<div class="code">
<pre class="brush: text">&lt;meta name="apple-mobile-web-app-capable" content="yes" /&gt;</pre>
</div>
</div>
<p>This meta tag helps you break away from the look of Safari, allowing you to create a true replica of a native iPhone application. It removes the address/search bar from the top of the window as well as the navigation bar from the bottom of the window. However, it will only do this if your web application is launched from a web clip icon on the home screen.</p>
<div class="code-wrapper">
<div class="code">
<pre class="brush: text">&lt;meta name="apple-mobile-web-app-status-bar-style" content="black" /&gt;</pre>
</div>
</div>
<p>This meta tag changes the status bar (carrier name, time, battery icon, etc.) background colour to black. Whether you use this tag or not depends on the overall style of your web application. As my own uses a dark background this was ideal for me. As with the previous meta tag, this will only be applied if your web application is launched from a web clip icon on the home screen.</p>
<div class="code-wrapper">
<div class="code">
<pre class="brush: text">&lt;link rel="apple-touch-icon" href="icon.png" /&gt;</pre>
</div>
</div>
<p>To complete the authentic iPhone application look you can define an icon to be used when a user adds your web application to their home screen. The icon should be 57 by 57 pixels in dimension. Any larger or smaller and the icon will be scaled.</p>
<p>With the framework in place, all that was left to do was apply a background image and style the countdown text.</p>
<p>Sadly, the Safari browser on the iPhone only has limited <a href="http://www.css3.info/">CSS3</a> support. I was able to use the<a href="http://www.css3.info/preview/text-shadow/"> text-shadow</a> property on the countdown text, but I was unable to use a <a href="http://www.css3.info/preview/web-fonts-with-font-face/">custom font face</a> to replicate the &#8220;24&#8243; LCD-style digits in the logo.</p>
<p>As there is no Flash or Java support on the iPhone in Safari, nor do I want there to be, I used a JavaScript based solution. Using <a href="http://jquery.com/">jQuery</a> and the <a href="http://keith-wood.name/countdown.html">Countdown</a> plugin, with a few lines of JavaScript the countdown clock was easily implemented.</p>
<div class="code-wrapper">
<div class="code">
<pre class="brush: js">$('h2#countdown').countdown({
	until: new Date(2010,0,17),
	format: 'DHMS'
});</pre>
</div>
</div>
<p>The live web application lives at <a href="http://joeserg.com/24">http://joeserg.com/24/</a></p>
<p>It&#8217;s hardly the best iPhone web application out there, nor is it the most complicated. However, by starting out with a simple web application and learning the basics, I can look forward to developing bigger and better ones in the future.</p>
<p>All I need to do now is find the time to create them.</p>
]]></content:encoded>
			<wfw:commentRss>http://joesergeant.com/blog/my-24-countdown-clock-iphone-web-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Radio button selection using parent element and jQuery</title>
		<link>http://joesergeant.com/blog/radio-button-selection-using-parent-element-and-jquery/</link>
		<comments>http://joesergeant.com/blog/radio-button-selection-using-parent-element-and-jquery/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 10:09:33 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.joesergeant.co.uk/?p=242</guid>
		<description><![CDATA[Using just one line of jQuery I was able to let users click anywhere on a table cell to select the child radio button in a form.]]></description>
			<content:encoded><![CDATA[<p>Here was the request; I had a list of selectable items, each of which needed a different icon associated with them. Due to the limitations of the <em>&lt;asp:RadioButtonList&gt; </em>I was forced achieve this by setting <em>RepeatLayout=&#8221;Table</em>&#8221; and placing a background image on the table to simulate the icons. Spacing was achieved by giving each table cell a fixed width and adding top padding, allowing the icon to be shown.</p>
<p>That worked well until it was pointed out that, from a usability point of view, it would be far better to let the user click on the icon to select the relevant radio button, as well as the radio button label. At first I thought this would be a pain to implement but, as usual, <a href="http://jquery.com/">jQuery</a> shone through.</p>
<p>After one line of jQuery, the user could now click anywhere on a table cell and the child radio button would be selected.</p>
<div class="code">
<pre class="brush: js">
$("td").click(function() {
     $(this).find("input").attr("checked", "checked");
});
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://joesergeant.com/blog/radio-button-selection-using-parent-element-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
