![]() I think there should be an extra closing bracket at the end here.ĭon’t use old school html like align=“right” as that is deprecated in strict doctypes. Move the display:none from the image and onto the div instead. You are hiding and showing #page+loader but yet you have set the image itself to display none so it will never show. You don’t have an ID of cupid-green you have a class so change the js or the html to reflect this. This isn’t really my area but I can see some errors in your code. ') console.log(this) $('#myForm').submit() " value="SUBMIT"> I know that this line has a problem, the code is not correct, yet do not know how to correct it. execute the code below after the ajax request is complete Var loadingdiv = document.getElementById('loading-image') Before starting ajax request display the div (paste it in the beginning of your ajax request function I would like the Gif to show onclick, and finish once the page has loaded.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |