<?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: GMail-Like Attachment Forms using DOM Scripting</title>
	<atom:link href="http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/</link>
	<description>a developer blog</description>
	<lastBuildDate>Sun, 07 Mar 2010 06:17:16 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ljlj</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-550</link>
		<dc:creator>ljlj</dc:creator>
		<pubDate>Sat, 02 Aug 2008 09:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-550</guid>
		<description>98979</description>
		<content:encoded><![CDATA[<p>98979</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ljlj</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-549</link>
		<dc:creator>ljlj</dc:creator>
		<pubDate>Sat, 02 Aug 2008 09:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-549</guid>
		<description>jljl</description>
		<content:encoded><![CDATA[<p>jljl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pai</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-548</link>
		<dc:creator>Pai</dc:creator>
		<pubDate>Thu, 06 Mar 2008 16:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-548</guid>
		<description>need your idea on hwo to tweak this.

like the example u show, everytime add new, at first, it will keep on adding 1 to the previous id number right.. so it shows like..

#1
#2
#3
#4
#5

AND, once we remove any of the element, for example #3, it will become like this right..

#1
#2
#4
#5

and if we add new after this, it will continue the numbering from the last counter, which will show something like this..

#1
#2
#4
#5
#6
#7
#8 ...and so on...

my question is, IS IT POSSIBLE to tweak the number displayed, to make it re-calculate the whole numbering sequence? to make it look back like 1, 2, 3, 4, 5..etc so doesnt matter which line we remove, it will always display the correct number sequence.

since i just want the numbering for display purpose, i have the idea of making another counter, which is specifically for display. but i dont know how to do this in javascript. do we have to use ajax to auto update the numbering? any tips or hint is appreciated..</description>
		<content:encoded><![CDATA[<p>need your idea on hwo to tweak this.</p>
<p>like the example u show, everytime add new, at first, it will keep on adding 1 to the previous id number right.. so it shows like..</p>
<p>#1<br />
#2<br />
#3<br />
#4<br />
#5</p>
<p>AND, once we remove any of the element, for example #3, it will become like this right..</p>
<p>#1<br />
#2<br />
#4<br />
#5</p>
<p>and if we add new after this, it will continue the numbering from the last counter, which will show something like this..</p>
<p>#1<br />
#2<br />
#4<br />
#5<br />
#6<br />
#7<br />
#8 &#8230;and so on&#8230;</p>
<p>my question is, IS IT POSSIBLE to tweak the number displayed, to make it re-calculate the whole numbering sequence? to make it look back like 1, 2, 3, 4, 5..etc so doesnt matter which line we remove, it will always display the correct number sequence.</p>
<p>since i just want the numbering for display purpose, i have the idea of making another counter, which is specifically for display. but i dont know how to do this in javascript. do we have to use ajax to auto update the numbering? any tips or hint is appreciated..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shihab</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-547</link>
		<dc:creator>shihab</dc:creator>
		<pubDate>Sun, 04 Nov 2007 07:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-547</guid>
		<description>Hi
I had tried to get values in attached file using ASP(request.Form) but I getting only counter value(number file input box).How can get the file input(container) value instead of counter value.</description>
		<content:encoded><![CDATA[<p>Hi<br />
I had tried to get values in attached file using ASP(request.Form) but I getting only counter value(number file input box).How can get the file input(container) value instead of counter value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-546</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Tue, 18 Sep 2007 13:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-546</guid>
		<description>Not working with IE?</description>
		<content:encoded><![CDATA[<p>Not working with IE?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-545</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Tue, 18 Sep 2007 13:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-545</guid>
		<description>Hi..
 Its not working with IE ,but why?
 plz let me know/.</description>
		<content:encoded><![CDATA[<p>Hi..<br />
 Its not working with IE ,but why?<br />
 plz let me know/.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-544</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 15 Jun 2007 22:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-544</guid>
		<description>It is indeed hard ;) I am close... I can upload the first file, but I am sure yours will be far superior... so I will wait,
Thanks again - and I am glad to be of help, ha</description>
		<content:encoded><![CDATA[<p>It is indeed hard <img src='http://dbachrach.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I am close&#8230; I can upload the first file, but I am sure yours will be far superior&#8230; so I will wait,<br />
Thanks again &#8211; and I am glad to be of help, ha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Bachrach</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-543</link>
		<dc:creator>Dustin Bachrach</dc:creator>
		<pubDate>Fri, 15 Jun 2007 22:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-543</guid>
		<description>Richard, it&#039;s kind of hard to help you there, but you have inspired me to write a tutorial on how to do some cool ajax uploading with php. I&#039;m going to write a tutorial on this to be posted on my blog in a few days. Check back for it. Thanks.</description>
		<content:encoded><![CDATA[<p>Richard, it&#8217;s kind of hard to help you there, but you have inspired me to write a tutorial on how to do some cool ajax uploading with php. I&#8217;m going to write a tutorial on this to be posted on my blog in a few days. Check back for it. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-542</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 15 Jun 2007 22:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-542</guid>
		<description>Hey,
I understand how this script works, and it&#039;s awesome, but for the life of me I can&#039;t get a working upload system.
Could you give me an example on how I could, using this script, upload using PHP?
If not, no problem... I will play around :)</description>
		<content:encoded><![CDATA[<p>Hey,<br />
I understand how this script works, and it&#8217;s awesome, but for the life of me I can&#8217;t get a working upload system.<br />
Could you give me an example on how I could, using this script, upload using PHP?<br />
If not, no problem&#8230; I will play around <img src='http://dbachrach.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knowledge Chikuse</title>
		<link>http://dbachrach.com/blog/2007/04/gmail-like-attachment-forms-using-dom-scripting/#comment-539</link>
		<dc:creator>Knowledge Chikuse</dc:creator>
		<pubDate>Thu, 17 May 2007 07:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/04/30/create-dynamic-gmail-like-attachment-forms-using-dom-scripting/#comment-539</guid>
		<description>i noticed that in IE if you click on the minus symbol (the remove one) the page just shoots out to some funny page. the problem was here

attachment_a2.setAttribute(&#039;href&#039;,&#039;&#039;);

you should change this to

attachment_a2.setAttribute(&#039;href&#039;,&#039;javascript:removeAttachmentElement(&#039;+counter+&#039;);&#039;);

so that it works in IE...

otherwise this is one cool script and i&#039;m loving it....</description>
		<content:encoded><![CDATA[<p>i noticed that in IE if you click on the minus symbol (the remove one) the page just shoots out to some funny page. the problem was here</p>
<p>attachment_a2.setAttribute(&#8216;href&#8217;,&#8221;);</p>
<p>you should change this to</p>
<p>attachment_a2.setAttribute(&#8216;href&#8217;,'javascript:removeAttachmentElement(&#8216;+counter+&#8217;);&#8217;);</p>
<p>so that it works in IE&#8230;</p>
<p>otherwise this is one cool script and i&#8217;m loving it&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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