Solved

Chained Select menus load content into page + jQuery

Posted on 2010-08-27
3
456 Views
Last Modified: 2012-05-10
Hi experts, thank you for your time.

First off, let me give you a little background info as to what my end goal is as I am open to suggestions for other methods of achieving this.

I need to create page where the user can select the manufacturer of their mobile/cell phone and then select their model of phone and then be presented with instructions for that specific phones data deletion methods. I have huge list of all the instructions, I am just trying to find the best way of including this into my site.

I have found this: http://www.dynamicdrive.com/dynamicindex1/chainedmenu/index.htm which provides me with the chained select menus and I can manage this, I am just not sure how to make this pull up the content once the user makes the final selection and hits "go".

Can any of you great experts help me out here... I am very new to javascript/jQuery so please be patient with me.  :-)
0
Comment
Question by:mobius1980
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Rajesh Dalmia
ID: 33548479
u have to put all those combox box inside a form, in form submit you have to call a new page, in that page u can get those combo box values based.. the value retrieve code will be different based on programming that you are using... asp/php etc...
0
 

Author Comment

by:mobius1980
ID: 33548571
I'm sorry, you lost me completely... I'm sorry, I am a very weak coder.

I thought there might be a way of mixing the multi select menus as linked to above with the following content loader: http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm

I'm sorry for being a pain, just not following your reply and looking for a simple approach... For my sake.  :-)

Thank you for taking the time to reply.
0
 
LVL 11

Accepted Solution

by:
Rajesh Dalmia earned 500 total points
ID: 33548689
as per ur sample links... the go button drop down combo is showing some alert message... seems like some java script is used to generate the value based on the combo selection...
if you want to set that value in same page without form submit then you can create a div in the page itself (like below the go button) and can set that alert message value in that div...

<div id="divResult">
</div>


you have to find out the java script that is being called in go button click... in that java script you have to write something like....

document.getElementById("divResult").innerHTML = result;   ///here result will be replaced by the alert message variable....
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now