insert into data base by javascript <p>i have this code for get rss from other site </p> <pre><code>gfeedfetcher.prototype._displayresult=function(feeds){ var rssoutput=(this.itemcontainer=="&lt;li&gt;")? "&lt;ul&gt;\n" : "" gfeedfetcher._sortarray(feeds, this.sortstring) for (var i=0; i&lt;feeds.length; i++){ var itemtitle="&lt;a href=\"" + feeds[i].link + "\" target=\"" + this.linktarget + "\" class=\"titlefield\"&gt;" + feeds[i].title + "&lt;/a&gt;" var itemlabel=/label/i.test(this.showoptions)? '&lt;span class="labelfield"&gt;['+this.feeds[i].ddlabel+']&lt;/span&gt;' : " " var itemdate=gfeedfetcher._formatdate(feeds[i].publishedDate, this.showoptions) var itemdescription=/description/i.test(this.showoptions)? "&lt;br /&gt;"+feeds[i].content : /snippet/i.test(this.showoptions)? "&lt;br /&gt;"+feeds[i].contentSnippet : "" rssoutput+=this.itemcontainer + itemtitle + " " + itemlabel + " " + itemdate + "\n" + itemdescription + this.itemcontainer.replace("&lt;", "&lt;/") + "\n\n" } rssoutput+=(this.itemcontainer=="&lt;li&gt;")? "&lt;/ul&gt;" : "" this.feedcontainer.innerHTML=rssoutput } </code></pre> <p>then i need to insert title and linke of the new on table on data base this cod by javascript</p>