Viewing 3 replies - 1 through 3 (of 3 total)
  • digitalnord

    (@digitalnord)

    You can do this with jQuery:

    $('#the_select_box').change(theFunctionToCall);
    
    function theFunctionToCall (e) {
      // do something
    }
    Thread Starter davidemaggiorelli

    (@davidemaggiorelli)

    I have problems with jQuery due to a jQuery conflict :/
    Is there another way to do it?

    Thank you! 🙂

    digitalnord

    (@digitalnord)

    Yes, you can try to change the $ to jQuery, or wrap it all in an anonymous function:

    jQuery(document).ready(function ($) {
      // Here you can use $ for jQuery
    });
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Javascript trigger events on selection’ is closed to new replies.