Show loading gif after clicking form submit using jQuery

前端 未结 4 1483
没有蜡笔的小新
没有蜡笔的小新 2020-12-03 17:25

I\'m trying to simply show a loading gif once the form is submitted. My code is not working correctly for the loading gif to show. You\'ll see my image for the gif is set to

4条回答
  •  攒了一身酷
    2020-12-03 18:01

    What about an onclick function:

        

    Of course you can put this in a function and then trigger it with an onClick

提交回复
热议问题