The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
two substances of mcDropDown
| Project: | mcDropdown jQuery Plug-in |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | nikooo |
| Status: | active |
Jump to:
Description
Great work!
Please tell how can I put two substances of this plugin n one page?
I tried this code:
Please select a category:<br />
<input type="text" name="category" id="category" value="" />
<br />
one more time<br />
<input type="text" name="category2" id="category2" value="" />with "ready" section:
$("#category").mcDropdown("#categorymenu");
$("#category2").mcDropdown("#categorymenu");but its not working.
Help please!
- Login to post comments

Comments
#1
If you want to have more substances you need to have more unordered lists
of items. Then your "ready" section should look like this:
$("#category").mcDropdown("#categorymenu");
$("#category2").mcDropdown("#categorymenu2");