<?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>wehuberconsultingllc.com &#187; jquery</title>
	<atom:link href="http://wehuberconsultingllc.com/wordpress/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://wehuberconsultingllc.com/wordpress</link>
	<description></description>
	<lastBuildDate>Sun, 15 Aug 2010 13:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Jeditable and Classic ASP</title>
		<link>http://wehuberconsultingllc.com/wordpress/2010/02/05/jeditable-and-classic-asp/</link>
		<comments>http://wehuberconsultingllc.com/wordpress/2010/02/05/jeditable-and-classic-asp/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 13:18:36 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[CSS/WebDesign]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://wehuberconsultingllc.com/wordpress/2010/02/05/jeditable-and-classic-asp/</guid>
		<description><![CDATA[This week I implemented a grid style application using Classic ASP and Jeditable. The hardest part of implementing this application was trying to figure out what a save.asp version of save.php would look like. Here the template I created. &#60;% dim sID, sValue,errorcode dim field1,field2,field3,field4 'The sID is a spreadsheet style ID 'As an example [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This week I implemented a grid style application using Classic ASP and <a title="Jeditable - Edit In Place Plugin For jQuery" href="http://www.appelsiini.net/projects/jeditable">Jeditable</a>. The hardest part of implementing this application was trying to figure out what a save.asp version of save.php would look like. Here the template I created.</p>
<pre class="brush: vb;">
&lt;%
dim sID, sValue,errorcode dim field1,field2,field3,field4
'The sID is a spreadsheet style ID
'As an example B3 would be the second editable field
'for DB ID field = 3
sID = request(&quot;id&quot;)
sValue = request(&quot;value&quot;)
sType = mid(sID,1,1)
sDataID = mid(sID,2)
'We have four editable fields
'The changed field will not be null
field1 = null
field2 = null
field3 = null
field4 = null
errorcode = 0
select case sType
case &quot;A&quot;
field1 = sValue
case &quot;B&quot;
field2 = sValue
case &quot;C&quot;
field3 = sValue
case &quot;D&quot;
field4 = sValue
case else
errorcode = 1
end select
if errorcode = 0 then
'Validate and update the data base
end if
if errorcode = 0 then
'Send back the value field
Response.Write sValue
else
Response.Write &quot;&lt;b&gt;!Error &quot; &amp; errorcode &amp; &quot;&lt;/b&gt;&quot;
end if
%&gt; </pre>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wehuberconsultingllc.com/wordpress/2010/02/05/jeditable-and-classic-asp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.338 seconds -->
