I need to use Chosen in magento instead of "select " for multi select.I didn't find any thing about it. How should I add jquery for it. I am trying to solve Following issue


Download Chosen Jquery fileschosen.css and chosen.jquery.js , place these files in your design, , Add them to you module in respected .xml file, in head like

<reference name="head">
    <!--            Adding js and css to use "chosen" instead of "select" for "multiselect" input types-->
    <action method="addItem">
    <action method="addItem">

be careful about path of files, after this, in your respected view (.phtml) use Chosen

  <script type="text/javascript">

jQuery(document).ready(function ($) {

This will change interface of elements having class "myClass", output might like this enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.