wpForo 1.x.x [Solved] How to change class of link in button??
I am using a pop up login plugin where i need to add class in link to trigger the pop up, like <button class="lrm-login lrm-hide-if-logged-in" > Login </button> to trigger pop up login when clicked on login text.
Now, i can easily add the widget, but couldn't find any way to add that class to the buttons of the widgets.
Please guide me regarding this..
Please read Alvina's answer here: https://wpforo.com/community/postid/45698/
I would also suggest to use the unprefixed and standard value in your code – some browsers already have them, as Firefox.
Then, you can simple toggle the class when a button is clicked. Depends if you want remove the class when the same button is clicked again, you have to use
hello, any expert here to help??
Here I'll show you with a simple example on how to dynamically add or remove CSS class of link tags using jQuery methods.