Ladda Button Animation Activation Not Displayed on Input Elements

Using Ladda plugin for buttons with built-in loading indicators. I managed to get it to work with href buttons and elements, but not at the input. More specifically, rotation animation. This is not shown. Everything works, but it just does not show rotation.

CODE:

<input class="ladda-button" type="submit" data-color="green" data-style="expand-left"> 

Any help would be greatly appreciated. Thanks guys!

+6
source share
3 answers

You can replace <input type="submit> with <button type="submit"></button> .

 <button type="submit" class="ladda-button" data-style="expand-left">Hello</button> 

Modern web browsers will treat this functionally the same as <input type="submit"> .

+5
source

I would suggest capturing input tags in some ways in the jQuery document ready event and replace it with a button tag, and then use the Ladda plugin.

0
source

If you use asp.net, you can use asp: LinkButton instead of asp: Button. This will make the support element, and Ladda will work fine.

0
source

All Articles