Paulsonps / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
0 stars 0 forks source link

How do I use several of the same type of drop down box on the same page? #224

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I LOVE the checklist drop down!  It will make a huge difference in my ability 
to do what I need to do.  However, the page I am creating will have several of 
these drop down boxes.  If I put two on the same page the second doesn't work.  
I assume because the select id is the same?  Maybe not?  I haven't done much 
programming in the past 5 years so I feel like I am a newbie again.  Any help?

** What steps will reproduce the problem?

** What is the expected output? What do you see instead?

** What is your environment?
-- DropDownCheckList version:
-- jQuery version:
-- jQuery UI version:
-- Browser and version:

** Please provide any additional information below/Please attach sample
html

Original issue reported on code.google.com by seanbenn...@gmail.com on 9 Jan 2012 at 5:38

GoogleCodeExporter commented 8 years ago
Check out the demo and test pages, both of which have multiple DDCLs active.  
And yes, as per the html spec, every id on a page is supposed to be unique, and 
DDCL requires this to be so.

Original comment by womohun...@ittrium.com on 9 Jan 2012 at 9:11

GoogleCodeExporter commented 8 years ago
I have reviewed both.  I don't know if I just missed an instructions page,
but I just downloaded and installed the folders into my directory and
reviewed the source code to try to figure it out.  I eventually got it to
work, but is there a page with more info or clarification that I am
missing?  I am not sure what pages exactly you are referring to when you
say deom and test pages.

The problem I run into is that doesn't the id also control what type of box
is created?  I see several different examples of different boxes on the
page, but I don't see any page that has several of the same types of boxes
displayed over and over again.  Any help you could provide would be greatly
appreciated. Even if you have a link to the page you are referring
to....that would be most helpful.

Original comment by seanbenn...@gmail.com on 10 Jan 2012 at 2:23

GoogleCodeExporter commented 8 years ago
Nevermind...I figured it out.  I didn't realize that I could simply create
a new id for each box.  Got it!

On Mon, Jan 9, 2012 at 8:23 PM, Sean Bennington
<seanbennington1@gmail.com>wrote:

Original comment by seanbenn...@gmail.com on 10 Jan 2012 at 2:39