close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

JS dynamic dropdowns - one works, one doesn't

Thread began 7/18/2014 12:58 pm by iainmacdonald331081 | Last modified 7/18/2014 1:53 pm by Jason Byrnes | 948 views | 4 replies |

iainmacdonald331081

JS dynamic dropdowns - one works, one doesn't

Not WA Dynamic Dropdowns which I don't think are still supported, but I have used another option I found. It obviously does work, as I have one instance of it working in a page, but not another, and I can't see why. Hopefully just me being blind from looking at it too much, and had it every which way except the right way.

I have attached the relevant files etc below.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

The WA Dynamic Dropdowns is still supported, it is a part of Data Bridge.

I cant really give much support for a third party dynamic dropdown, To be honest, I Don't even know what i am looking for in the files you provided, I don't know which one works and which doesn't. I don't see how any one of them could work, I don't see any sort of onchange event for any select list on the page you provided.

I am not familiar with the third party script you are using, so really cannot offer a lot of help.

Sign in to reply to this post

iainmacdonald331081

OK - no worries Jason - I'll have a look at the WA Dynamic Dropdowns.

Sign in to reply to this post

iainmacdonald331081

More below.

Sign in to reply to this post

Jason ByrnesWebAssist

i think i see the probelm, in connMiradaDropdown2.php

$choice2 = mysql_real_escape_string($_GET['choice']);

$query = "SELECT * FROM categories WHERE Category='$choice' ORDER BY CategoryShort ASC";


should be:
$choice2 = mysql_real_escape_string($_GET['choice']);

$query = "SELECT * FROM categories WHERE Category='$choice2' ORDER BY CategoryShort ASC";


basically, in the first line you are creating the $choice2 variable, but you currently have the query set to use a variable named $choice, which does not exist, it is named $choice2

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...