• Hi Zafira,

    Great plugin, I have customised exactly to my needs, however I have a recurring issue that is preventing me from using it on my website.

    When it is active, i.e. when the footer banner appears and the ‘Accept’ and ‘Deny’ buttons are present, I encounter no issues.

    However, regardless of whether I press ‘Accept’ or ‘Deny’, it causes an issue with my drop-down box. The drop-down box uses some simple javascript to show or hide content, dependent on what you select within the drop-down box.

    When either ‘Accept’ or ‘Deny’ are pressed, all content appears at once, making the drop-down box ineffective.

    Here is the code I use with my drop-down box javascript, any ideas why it is doing this?

    <select id="selectMe">
        <option value="option1">Basic</option>
        <option value="option2">Advanced</b></option>
    </select>
    
    [js]
    
     $(document).ready(function () {
        $('.group').hide();
        $('#option1').show();
        $('#selectMe').change(function () {
            $('.group').hide();
            $('#'+$(this).val()).show();
        })
    });
    
    [/js]

    Any help would be greatly appreciated.

    https://www.ads-software.com/plugins/cookie-compliance/

  • The topic ‘Causes problem with drop down box and selectable content’ is closed to new replies.