javascript - Bind click event to jquery.appear -


I'm using the plugin Jquery. I am working with a project. It works great and it's free, but I'm curious to know if I can tie it a click event. Actually what I am after I scroll to a certain device on the page, a fire incident It seems, is easy. However, I would also like to make it, so I can have a 'click' event fire, but the user can actually fire without having to click So I was thinking using the tie. It would be possible I would have included $ (Document.body) $ (function () {var $ visible = $ ('# boost-que'); $ (' # Boost-que '.) Manifest (); $ (document.body) .one (' displayed ',' #but-que ', function (e, $ affected) {function test scroll (warnings (' works ');} $ (Document.body) .bind (click on' TestScroll '); $ empty ();});});

This work Does, but I have to click physically to create click event fire Is there a way to bind the click event, so that it will set itself on fire? Any input is always appreciated.

You can click this program by clicking () after compelling:

  $ (document.body) .bind ('Click', testScroll) .click ();  

or:

  $ (document.body) .bind ('click', TestScroll). Trigger ("click");  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -