Title: Very basic Jquery question
Last modified: August 20, 2016

---

# Very basic Jquery question

 *  [BiancoBellucci](https://wordpress.org/support/users/biancobellucci/)
 * (@biancobellucci)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/very-basic-jquery-question/)
 * 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.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [BiancoBellucci](https://wordpress.org/support/users/biancobellucci/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/very-basic-jquery-question/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
