• Hi all, newbie here…

    I need to call this Jquery string/action (or whatever it is) from custom page template:

    jQuery('.simplemodal-login').trigger('click.simplemodal-login');

    How to put that line in proper code?
    I have tried like this:

    <script type="text/javascript">
    $(document).ready(function() {
        $('.simplemodal-login').trigger('click.simplemodal-login');
    });
    </script>

    …but it does noting. Otherwise, the upper command line is suggested by SimpleModal Login plugin author, and is supposed to auto trigger login window. But the author seems to be out of the reach these days.

    Please help. Thanks.

The topic ‘Very basic Jquery question’ is closed to new replies.