Comments (4)
Hey, thanks for the feedback!
I tried to recreate the error but with no success. I made some tests on http://jsfiddle.net/carlosbonetti/zmE4L/8/.
Can you try to recreate it on jsfiddle or provide a link so I can see it happening?
from jquery-loading.
Hey @tbl0605, I think I figured what is happening here.
When you call $("#feedback-panel-id").html('').html(strData);
maybe you are appending a new body
element to the page, so when you call $('body').loading('stop')
you're actually initializing a second overlay for the second body element.
Try to avoid returning body
or complete HTML pages for ajax returns (returning JSON objects is a good idea). Hence, I will work for a better solution for when an element not initialized receives a .loading('whatever')
call (right now the parameter is ignored and the plugin is initialized).
from jquery-loading.
Hello @CarlosBonetti,
thank you for your reply!
Sorry I had little time to make some tests lately ;) Actually I changed a lot my html code, and I can't reproduce this problem for the moment.
But you're right, there's probably something to do with the body
tag.
I will wait on your next release to see if problem occurs again in the future ;)
Thank you for your work and nice plugin ! :)
Thierry.
from jquery-loading.
I'm closing this since the error doesn't happen anymore
from jquery-loading.
Related Issues (19)
- How to destroy plugin instance? HOT 5
- $(...).loading is not a function HOT 7
- there is no destroy method HOT 3
- Does it possible to add a update message function? HOT 3
- Multiple loading with custom overlay HOT 1
- Submit button inside form tag doesnโt work in Safari HOT 2
- critical dependency error on laravel mix HOT 1
- Bad position HOT 4
- Issue using in a Bootstrap modal dialog HOT 3
- Error: Cannot find module '[object Window]' HOT 1
- the file of jquery.loading.min.js contains 'const' symbol
- can't mask all body when work with jeasyui
- Unable to use multiple instances on same element
- If you use multiple loadings, message does not change HOT 4
- z-index 9 is too low HOT 5
- Unable to get the overlay to display HOT 2
- loading('stop') displyaing the loading widget HOT 5
- Nuget package deployment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-loading.