Support » Plugin: Dropdown multisite selector » Suggestion: reset to initial state

Viewing 1 replies (of 1 total)
  • maiden_taiwan

    (@maiden_taiwan)

    I just tried this code, and it worked for me:

    /* Reset the DMS dropdown to initial state on Back button */
    (function( $ ){
        $(window).bind("pageshow", function() {
                $('.dms-select').val('');
        });
    })(jQuery);
Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion: reset to initial state’ is closed to new replies.