close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

3 level dependent dropdown - change 1st master reset all?

Thread began 4/03/2013 3:20 pm by Andrew Read | Last modified 4/12/2013 4:16 pm by Andrew Read | 1800 views | 32 replies

Andrew Read

*** Edited by me because I forgot what I read previously, which you already taught me! I need more worms.. this learning to fish is killing me! ** :D

OK, so becasue I am a bit thick (apparently!) and I want to make sure I understand what the onclick is doing:

setPrice(document.form1.select[document.form1.select.selectedIndex].value)



this calls the function setPrice to run, using the value:

document = from this document
form1 = name of the form within the document? This should be the name of the form.
select = uses the select box that the onChange action is for? This should be the name of the select element being changed
[document.form1.select.selectedIndex.value] = the index number of the selection within the above stated select box? What does the .value do? Does "selectedIndex" need to be renamed at all or is this a JavaScript thing?

I assume that this function could access the recordsetname_WAJA array that is being created as well? Being that it will be multi-level, how do I access the correct level of that WAJA array? :)

Thank you for all of your time on this, if I ever do manage to learn how to get this bleeding thing to work I'll hopefully not have to bug you as much on the JavaScript side of things next time. Hehe.

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...