Guest Posted April 18, 2020 Share Posted April 18, 2020 Site URL: https://www.menswisdomwork.com/ Hi guys, I'm trying to trigger the form modal using different html button or a href. Is there a way I can do that????? Here is the screenshot I wan to do https://prnt.sc/s1r5ci Link to comment
tuanphan Posted April 18, 2020 Share Posted April 18, 2020 If you have a budget, you can use this plugin If not, you can search Google: jQuery modal popup or button click modal popup or jquery open popup on button click eg. https://www.w3schools.com/howto/howto_css_modals.asp https://stackoverflow.com/questions/24017306/jquery-open-popup-on-button-click-for-bootstrap/24017532 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js" integrity="sha256-xNzN2a4ltkB44Mc/Jz3pT4iU1cmeR0FkXs4pru/JxaQ=" crossorigin="anonymous"></script> <script> // when DOM is ready $(document).ready(function () { // Attach Button click event listener $("#myBtn").click(function(){ // show Modal $('#myModal').modal('show'); }); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.