Auto click a custom hyperlink when page load using jQuery -
I have a link and click on Auto to open a popup window to play a video.
Link like
Just do something like this:
& lt; A rel = "wp-video-lightbox" href = "" title = "" & gt; Watch Movie & lt; / A & gt; $ (Document) .ready (function () {$ ('a [rel = "your-rel"]'). Get (0). Click (); trigger ('click');}); Update: Update the code for your needs; Now you only have to change the "rel" attribute.
Comments
Post a Comment