<?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: Populate a select dropdown list using jQuery and Ajax</title>
	<atom:link href="http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/</link>
	<description>Everything .NET and C#</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:25:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21312</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 20 Jan 2012 00:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21312</guid>
		<description>Hi

Just set the Value and Display properties of the anonymous object from values in your datatable using dt[&quot;ColumnName&quot;]

Cheers
Joe</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Just set the Value and Display properties of the anonymous object from values in your datatable using dt["ColumnName"]</p>
<p>Cheers<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RUSTY CODER</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21309</link>
		<dc:creator>RUSTY CODER</dc:creator>
		<pubDate>Thu, 19 Jan 2012 08:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21309</guid>
		<description>Hello, how will i implement this using the converted datatable ---&gt; arraylist? 

how will i populate the drop down list... the item.Sample doesn&#039;t work.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello, how will i implement this using the converted datatable &#8212;&gt; arraylist? </p>
<p>how will i populate the drop down list&#8230; the item.Sample doesn&#8217;t work.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mar Anthony Go</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21308</link>
		<dc:creator>Mar Anthony Go</dc:creator>
		<pubDate>Thu, 19 Jan 2012 07:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21308</guid>
		<description>Thank you very much, this helped me a lot!</description>
		<content:encoded><![CDATA[<p>Thank you very much, this helped me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tana</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21301</link>
		<dc:creator>tana</dc:creator>
		<pubDate>Wed, 04 Jan 2012 09:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21301</guid>
		<description>thanks ..good works</description>
		<content:encoded><![CDATA[<p>thanks ..good works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21280</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 04 Dec 2011 10:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21280</guid>
		<description>Jovanky

Just download the source and try it for yourself.

Regards
Joe</description>
		<content:encoded><![CDATA[<p>Jovanky</p>
<p>Just download the source and try it for yourself.</p>
<p>Regards<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jovanky De Los Santos</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21276</link>
		<dc:creator>Jovanky De Los Santos</dc:creator>
		<pubDate>Wed, 30 Nov 2011 04:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21276</guid>
		<description>Why don&#039;t you offer a demo to view functionality? This is good information but it could be better supplemented with the demo.</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you offer a demo to view functionality? This is good information but it could be better supplemented with the demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21273</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Mon, 28 Nov 2011 08:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21273</guid>
		<description>Thank you... It works like a charm..</description>
		<content:encoded><![CDATA[<p>Thank you&#8230; It works like a charm..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thx0125</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21101</link>
		<dc:creator>thx0125</dc:creator>
		<pubDate>Thu, 20 Oct 2011 18:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21101</guid>
		<description>Hi Asaf, hope this answer your question about the &quot;.d&quot; parameter

http://encosia.com/a-breaking-change-between-versions-of-aspnet-ajax/</description>
		<content:encoded><![CDATA[<p>Hi Asaf, hope this answer your question about the &#8220;.d&#8221; parameter</p>
<p><a href="http://encosia.com/a-breaking-change-between-versions-of-aspnet-ajax/" rel="nofollow">http://encosia.com/a-breaking-change-between-versions-of-aspnet-ajax/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thx0125</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21097</link>
		<dc:creator>thx0125</dc:creator>
		<pubDate>Thu, 20 Oct 2011 16:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21097</guid>
		<description>Hi, thanks for the code, very useful, but I have an issue, in your code you have:

$.each(msg.d, function(index, item)

But I had to coded like this

$.each(eval(&#039;(&#039; + msg.d + &#039;)&#039;), function(index, item)

Because otherwise item would return and array with size of the total of characters in the msg.d string; therefore giving me item.Value and item.Display as undefined

Do you know why this happens? I&#039;m making a web application on VS 2010 (framework 4), in my web method (the one that is called via Ajax) I serialize a List whit the JavaScriptSerializer object. I don&#039;t know if this has something to do with it</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the code, very useful, but I have an issue, in your code you have:</p>
<p>$.each(msg.d, function(index, item)</p>
<p>But I had to coded like this</p>
<p>$.each(eval(&#8216;(&#8216; + msg.d + &#8216;)&#8217;), function(index, item)</p>
<p>Because otherwise item would return and array with size of the total of characters in the msg.d string; therefore giving me item.Value and item.Display as undefined</p>
<p>Do you know why this happens? I&#8217;m making a web application on VS 2010 (framework 4), in my web method (the one that is called via Ajax) I serialize a List whit the JavaScriptSerializer object. I don&#8217;t know if this has something to do with it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21021</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 03 Sep 2011 06:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21021</guid>
		<description>Gaurav

It won&#039;t be visible when you view source as it&#039;s loaded into the DOM via ajax.

For showing the combo after population you could initially add a display:none style to it, then in the ajax callback use jQuery.Show to display it.

Cheers
Joe</description>
		<content:encoded><![CDATA[<p>Gaurav</p>
<p>It won&#8217;t be visible when you view source as it&#8217;s loaded into the DOM via ajax.</p>
<p>For showing the combo after population you could initially add a display:none style to it, then in the ajax callback use jQuery.Show to display it.</p>
<p>Cheers<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Jain</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-21017</link>
		<dc:creator>Gaurav Jain</dc:creator>
		<pubDate>Mon, 22 Aug 2011 02:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-21017</guid>
		<description>Thanks for the example. 
I have a requirement where I need to show the combo-box on selection of value from another combo-box. That I am able to achieve through your example above. 
Now I need to know two things :-

1. Why option tag not visible under select tag when I do View Source on the IE even if the values have been filled in combo-box successfully.
2. I need to hide the combo-box when page loads and then need to display when the comb-box is populated through Ajax call.</description>
		<content:encoded><![CDATA[<p>Thanks for the example.<br />
I have a requirement where I need to show the combo-box on selection of value from another combo-box. That I am able to achieve through your example above.<br />
Now I need to know two things :-</p>
<p>1. Why option tag not visible under select tag when I do View Source on the IE even if the values have been filled in combo-box successfully.<br />
2. I need to hide the combo-box when page loads and then need to display when the comb-box is populated through Ajax call.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20998</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 10 Aug 2011 05:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20998</guid>
		<description>Hi Asaf

Where are you seeing msg.d?

Joe</description>
		<content:encoded><![CDATA[<p>Hi Asaf</p>
<p>Where are you seeing msg.d?</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asaf</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20990</link>
		<dc:creator>asaf</dc:creator>
		<pubDate>Tue, 09 Aug 2011 08:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20990</guid>
		<description>Hi!
Anyone knows what is the meaning of the &quot;.d&quot; in the msg.d that we give as a parameter to the populating function? Thanks</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Anyone knows what is the meaning of the &#8220;.d&#8221; in the msg.d that we give as a parameter to the populating function? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Populate a select dropdown list using jQuery and Ajax &#171; Techno World</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20933</link>
		<dc:creator>Populate a select dropdown list using jQuery and Ajax &#171; Techno World</dc:creator>
		<pubDate>Thu, 07 Jul 2011 09:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20933</guid>
		<description>[...] http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/" rel="nofollow">http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20811</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 03 May 2011 07:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20811</guid>
		<description>Khizar

My example uses an ArrayList, you can easily swap it out for a generic list.

SQL Server won&#039;t be giving you a generic list, it&#039;ll be whatever ORM/data access method you&#039;re using. With my example you need a web service method that returns the data you get from the database.

Cheers
Joe</description>
		<content:encoded><![CDATA[<p>Khizar</p>
<p>My example uses an ArrayList, you can easily swap it out for a generic list.</p>
<p>SQL Server won&#8217;t be giving you a generic list, it&#8217;ll be whatever ORM/data access method you&#8217;re using. With my example you need a web service method that returns the data you get from the database.</p>
<p>Cheers<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khizar</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20809</link>
		<dc:creator>Khizar</dc:creator>
		<pubDate>Thu, 28 Apr 2011 13:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20809</guid>
		<description>Hi, Iam new to jquery could u plz tell how to bind dropdownlist with C# Generic list. Acctually m using SQL server which return me a generic list but i dont know how to handle it.
Thanks</description>
		<content:encoded><![CDATA[<p>Hi, Iam new to jquery could u plz tell how to bind dropdownlist with C# Generic list. Acctually m using SQL server which return me a generic list but i dont know how to handle it.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20806</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Tue, 26 Apr 2011 12:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20806</guid>
		<description>Try this.

$(&#039;#&gt;option&#039;).remove();
                    $(&quot;#&quot;).append($(&#039;&#039;).val(&#039;-1&#039;).html(&quot;--Select One--&quot;));</description>
		<content:encoded><![CDATA[<p>Try this.</p>
<p>$(&#8216;#&gt;option&#8217;).remove();<br />
                    $(&#8220;#&#8221;).append($(&#8221;).val(&#8216;-1&#8242;).html(&#8220;&#8211;Select One&#8211;&#8221;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omid</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-20777</link>
		<dc:creator>omid</dc:creator>
		<pubDate>Thu, 10 Mar 2011 21:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-20777</guid>
		<description>hi,
Thanks for the code &amp; tutorial</description>
		<content:encoded><![CDATA[<p>hi,<br />
Thanks for the code &amp; tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-14848</link>
		<dc:creator>Jayesh</dc:creator>
		<pubDate>Thu, 20 Jan 2011 05:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-14848</guid>
		<description>hi friend,
i want to clear Second drop down once i m selecting first drop down ..

i tried following code for that also

$(&#039;#drpGenderHobby).empty().append(&#039;-All-&#039;).find(&#039;option:first&#039;).attr(&quot;selected&quot;, &quot;selected&quot;); 

but in my case it is not working fine..
i also tried your give way 


 $(&quot;#ddlName&quot;).get(0).options.length = 0;
                $(&quot;#ddlName&quot;).get(0).options[0] = new Option(&quot;Select name&quot;, &quot;-1&quot;); 


but in this case i am not getting desire output

looking for positive reply

thanks in advance.</description>
		<content:encoded><![CDATA[<p>hi friend,<br />
i want to clear Second drop down once i m selecting first drop down ..</p>
<p>i tried following code for that also</p>
<p>$(&#8216;#drpGenderHobby).empty().append(&#8216;-All-&#8217;).find(&#8216;option:first&#8217;).attr(&#8220;selected&#8221;, &#8220;selected&#8221;); </p>
<p>but in my case it is not working fine..<br />
i also tried your give way </p>
<p> $(&#8220;#ddlName&#8221;).get(0).options.length = 0;<br />
                $(&#8220;#ddlName&#8221;).get(0).options[0] = new Option(&#8220;Select name&#8221;, &#8220;-1&#8243;); </p>
<p>but in this case i am not getting desire output</p>
<p>looking for positive reply</p>
<p>thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Stichbury</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-9525</link>
		<dc:creator>Jonathan Stichbury</dc:creator>
		<pubDate>Wed, 29 Dec 2010 20:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-9525</guid>
		<description>Forgive the lack of left brackets, they seem to have been removed, however you can guess what they would look like....</description>
		<content:encoded><![CDATA[<p>Forgive the lack of left brackets, they seem to have been removed, however you can guess what they would look like&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Stichbury</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-9524</link>
		<dc:creator>Jonathan Stichbury</dc:creator>
		<pubDate>Wed, 29 Dec 2010 20:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-9524</guid>
		<description>Thanks for the code &amp; tutorial, needed to use ajax on a page, which had a drop down list, of companies and people. Was going to use an UpdatePanel, though it got messy when trying to use the UpdateProgress control, hence used a variant of your code.

Taking it a step further, I cleaned it up, by using something like:

$(&#039;#ddlName&#039;).empty().append(&#039;Loading Names&#039;);

And used:

$(&#039;#ddlName&#039;).append(&#039;&#039; + item.Display + &#039;&lt;/option&#039;);

In the for loop.</description>
		<content:encoded><![CDATA[<p>Thanks for the code &amp; tutorial, needed to use ajax on a page, which had a drop down list, of companies and people. Was going to use an UpdatePanel, though it got messy when trying to use the UpdateProgress control, hence used a variant of your code.</p>
<p>Taking it a step further, I cleaned it up, by using something like:</p>
<p>$(&#8216;#ddlName&#8217;).empty().append(&#8216;Loading Names&#8217;);</p>
<p>And used:</p>
<p>$(&#8216;#ddlName&#8217;).append(&#8221; + item.Display + &#8216;&lt;/option&#039;);</p>
<p>In the for loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AK Sabin</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-9519</link>
		<dc:creator>AK Sabin</dc:creator>
		<pubDate>Wed, 29 Dec 2010 19:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-9519</guid>
		<description>Make sure that you are working on an AJAX Enabled WebSite. Otherwise, you may not be able to make server calls. 

The Webservice you create should be using the Name Space System.Web.Script.Services; [ScriptService] attribute has to be added. 

[WebService(Namespace = &quot;http://tempuri.org/&quot;)]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ScriptService]
public class MyService : System.Web.Services.WebService
{</description>
		<content:encoded><![CDATA[<p>Make sure that you are working on an AJAX Enabled WebSite. Otherwise, you may not be able to make server calls. </p>
<p>The Webservice you create should be using the Name Space System.Web.Script.Services; [ScriptService] attribute has to be added. </p>
<p>[WebService(Namespace = "http://tempuri.org/")]<br />
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]<br />
[ScriptService]<br />
public class MyService : System.Web.Services.WebService<br />
{</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-2779</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 14 Aug 2010 00:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-2779</guid>
		<description>Hi Cap

Not really sure without seeing it. Have you got all the necessary using statements?

Cheers
Joe</description>
		<content:encoded><![CDATA[<p>Hi Cap</p>
<p>Not really sure without seeing it. Have you got all the necessary using statements?</p>
<p>Cheers<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Captastic</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-2689</link>
		<dc:creator>Captastic</dc:creator>
		<pubDate>Tue, 10 Aug 2010 10:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-2689</guid>
		<description>Hi Joe,

Thanks for this, it&#039;s just what I&#039;m after.  The only problem is I am having trouble compiling.

I&#039;m working in Visual Web Developer 2008 Exp and have .net 3.5 installed.  I can compile your sample code  but as soon as I try to compile an exact copy of your web method in my code it comes up with around 45 errors all asking for &#039;;&#039;s or type expected etc... in and around the web method.  Have you any ideas what may be causing it?

Cheers
Cap</description>
		<content:encoded><![CDATA[<p>Hi Joe,</p>
<p>Thanks for this, it&#8217;s just what I&#8217;m after.  The only problem is I am having trouble compiling.</p>
<p>I&#8217;m working in Visual Web Developer 2008 Exp and have .net 3.5 installed.  I can compile your sample code  but as soon as I try to compile an exact copy of your web method in my code it comes up with around 45 errors all asking for &#8216;;&#8217;s or type expected etc&#8230; in and around the web method.  Have you any ideas what may be causing it?</p>
<p>Cheers<br />
Cap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Izzat</title>
		<link>http://www.joe-stevens.com/2010/02/23/populate-a-select-dropdown-list-using-jquery-and-ajax/comment-page-1/#comment-1769</link>
		<dc:creator>Izzat</dc:creator>
		<pubDate>Fri, 14 May 2010 03:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.joe-stevens.com/?p=459#comment-1769</guid>
		<description>index+1     is fine</description>
		<content:encoded><![CDATA[<p>index+1     is fine</p>
]]></content:encoded>
	</item>
</channel>
</rss>

