<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016203" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016203</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-dropdowns-again#comment-1093958</link>
    <description> &lt;p&gt;Hi artsapimp,&lt;/p&gt;
&lt;p&gt;   I&#039;m sorry -- I guess I didn&#039;t read through your previous post when I gave you my last response.&lt;/p&gt;
&lt;p&gt;1) you cannot use javascript to access a dbms; javascript can only deal with arrays &amp;amp; like data in the html file itself or a js file.  Therefore, you cannot use it directly to change the sql statements to create a new table of data&lt;/p&gt;
&lt;p&gt;2) you need to do this server side; you can use javascript for the selection list, but then you would have to pass the selected option&#039;s value to the server -- which (using php, asp, or something) would then get the new data and rewrite the page -- ad infinitum or until done.&lt;/p&gt;
&lt;p&gt;3) the only way to do it completely in javascript is to download all the database into appropriate arrays before any selection is made and then use javascript to access the arrays.&lt;/p&gt;
&lt;p&gt;So, my recommendation is to have one of the mods move this to the server side forum and to tell Peter, etal. what kind of services you have available.  A url showing what you have so far would help also.  &lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Wed, 14 Nov 2001 21:40:46 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1093958 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
