<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1038258" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1038258</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/onclick-innerhtml-and-value-trouble#comment-1218408</link>
    <description> &lt;p&gt;Yes sorry my last post was a bit ambiguous.  Basically, i am using timymce and havent got the upload script to add images, so i wanted to create links from all the image paths and embed an onclick like this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;a href=&amp;quot;#&amp;quot; id=&amp;quot;{$image[&amp;#039;id&amp;#039;]}&amp;quot; onclick=&amp;quot;addImage(this.id)&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src=&amp;quot;{$image[&amp;#039;path&amp;#039;]}&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/a&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;with the onclick insert the innerHTML of the link into the textarea so that it just inserts the whole image tag into tinymce.&lt;/p&gt;
&lt;p&gt;However, i managed to get in to insert the path in to a textarea but with tinymce activated it doesnt work?!&lt;/p&gt;
 </description>
     <pubDate>Thu, 26 Apr 2007 14:23:07 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1218408 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/onclick-innerhtml-and-value-trouble#comment-1218384</link>
    <description> &lt;p&gt;Can you post some actual code?&lt;/p&gt;
&lt;p&gt;As for what I think you&#039;re trying to do, ...what?  JavaScript is a Client-Side language, meaning that it doesn&#039;t have access to a database, unless you start moving into AJAX, which is different.&lt;/p&gt;
&lt;p&gt;If you want to access a database, use a language like PHP, Perl, etc.  &lt;/p&gt;
&lt;p&gt;What&#039;s the point of the onClick?  I don&#039;t really follow that.&lt;/p&gt;
&lt;p&gt;Post some code and I can be more helpful.&lt;/p&gt;
 </description>
     <pubDate>Thu, 26 Apr 2007 01:22:27 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1218384 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
