• Resolved suetibs

    (@suetibs)


    Hello … I have a general-purpose MaxButton that I configure dynamically with shortcode (text, URL, window). Is there an attribute to disable the button? This would be convenient when the URL for the page associated with the button is under construction and I’d rather not inconvenience my users with unnecessary page loads. Thanks ahead of time for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AlanP57

    (@alanp57)

    I don’t think so, but your could use some jQuery:

    <script>
      jQuery(document).ready(function(){
        jQuery('#button_id').prop('disabled', true);
      });  
    </script>
    Thread Starter suetibs

    (@suetibs)

    Thank you. I was looking for something a little more simple than that — but I appreciate the tip.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode to disable button’ is closed to new replies.