This question already has answers here:
Prevent user to perform any actions while page is loading
(4 answers)
Closed 6 years ago.
I need to disallow interaction with an asp.net form during its processing.
In my opinion I should use a javascript event for this but I'm a little bit confused about which one to use.
Use a javascript plugin like BlockUi to place an overlay on the page until all requests have completed and the page is fully initialised.
Related
This question already has answers here:
How do I redirect to another webpage?
(58 answers)
How can I change the current URL?
(7 answers)
Closed 3 months ago.
Im very new to Javascript, so apologies if this is very basic.
The only way i know how to send people to subpages is by having them click a link. Is there any way to make a javascript function that sends people to a subpage?
Since im very new to javascript, i havent been able to try much. The only way i can make subpages is having the user click a link. I need to send them to a subpage with a function
This question already has answers here:
How can I detect a user about the exit the page? [closed]
(3 answers)
Closed 2 years ago.
Does anyone know if it's possible to show a popup model on page exit(close tab/refresh/go back) with images and text using Javascript/jQuery?
The closest thing I found was beforeunload but it seems to only show an alert prompt with a predefined message.
I don't think modern browsers support a custom message in the beforeunload modal popup. Check this post for a discussion on browser compatibility
This question already has answers here:
Communication between tabs or windows
(9 answers)
Closed 5 years ago.
is there any way in any programming language to reload the webpage even if that particular browser tab is not active. In simple term i want to reload the web page by doing some other work on different tabs.
you have to check inactivity of user using java script then refresh the same page like
<head>
This question already has answers here:
Use Browser Search (Ctrl+F) through a button in website?
(3 answers)
Closed 9 years ago.
Does javascript allow for to trigger a "find" action with a keyword on the current page?
No, there's no cross-browser way to do this. (I don't even know of one browser that exposes that functionality.)
This question already has answers here:
Browser-independent way to detect when image has been loaded
(9 answers)
Official way to ask jQuery wait for all images to load before executing something
(11 answers)
Closed 8 years ago.
When user clicks on a button i load an array of images (there could be from 1 to 1000...). Is it possible somehow detect when last image is loaded?
You can define and onload event for each image and in the event increment a counter until the last one is loaded, which would be the length of your array.