Popup on button

This code is working:
[button link="#form-1"]Book Now[/button] 
<script type="text/javascript">
jQuery(document).ready(function ($) {
    $('a[href="#form-1"]').click(function () {
        $('.iphorm-fancybox-link-1').click();
        return false;
    });
});
</script>


But this one is not:
<a class="button  button_theme button_js" url="#form-1"><span class="button_label">Book Now</span></a>
<script type="text/javascript">
jQuery(document).ready(function ($) {
    $('a[href="#form-1"]').click(function () {
        $('.iphorm-fancybox-link-1').click();
        return false;
    });
});
</script>

Can you help with this last code please?

Comments

Sign In or Register to comment.