I am a newbie. please excuse me if it is a very basic question. I am hiding and showing CSS on window.print(). on IE8 and FF The page execution stops until i respond on print ( either print or cancel) and then it starts again and completes the page load. But on IE6 and IE7 the page load is not waiting until i respond on print dialog box. How can I pause Page execution until I respond ( either print or cancel) on the print dialog box? I do not want to use settimeout since it is for a specific time. If i choose to print immediately the page will not load untill settimeout expires and vice versa. Please help.
Wait until print is complete - Jquery Asp.net MVC
1.2k Views Asked by bluwater2001 At
1
There are 1 best solutions below
Related Questions in JQUERY
- How to sort these using Javascript or Jquery Most effectively
- Ajax jQuery firing multiple time display event for the same result
- .hover() seems to overwrite .click()
- Check for numeric value with optional commas javascript
- Extending Highmaps Side Effect
- Array appending after each onclick and loop in javascript
- how can i append part of a table based on how many tr it has?
- Play multiple audio files in a slider
- Remove added set of rows
- Access property of an object of type [Model] in JQuery
- AJAX PHP - Reload div after submit
- proengsoft/laravel-jsvalidation ReferenceError: jQuery is not defined
- when a checkbox is checked how to display a different hidden element using javascript
- Get jquery error Uncaught RangeError: Maximum call stack size exceeded
- Removing only the closest thead on table filtering
Related Questions in HTML
- Delay in loading Html Page(WebView) from assets folder in real android device
- Why does a function show up as not defined
- CSS Class is not applying to element (border width,color,and style attributes)
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- Automatically closing tags in form input?
- Positioning child at bottom of parent with scroll
- Remove added set of rows
- Website zoomed out on Android default browser
- Twitter Bootstrap horizontal form elements on a line
- http://sigmajs.org/ les mis tutorial - why are my canvases 0 height?
- My navbar is not expanding after collapse
- when a checkbox is checked how to display a different hidden element using javascript
- Gaps Vertically Using Dividers
- Svg containers not positioning properly
Related Questions in PRINTING
- How to send ESC/POS commands to thermal printer in Linux
- JTable Printing. How to set page breaks programmatically?
- Why do print and echo behave differently in a "for" loop
- Is there a way to limit the html page to a particular page size?
- How to execute keybord shortcut CTRL + P by clicking a link using jquery
- Chrome print preview disable only link location in footer and header
- C program doesn't print
- how to print a receipt to a particular printer
- How to print Jasper reports from servlets?
- Is it possible to print web content on thermal printer?
- How to print the HTML in Java
- How to get a response of file printing job to user from printer using CUPS in linux
- Android PrintManager get callback
- Business card height and width in pixels on web?
- Microsoft Dynamics Ax 2012 R2 run time issue
Related Questions in TIME-WAIT
- Lot of TIME_WAIT connections while using RestTemplate?
- Unable to reduce TIME_WAIT
- No TIME_WAIT connections, why?
- How to stop java code execution util a link in webView is loaded completely in android studio
- Waiting for specific time before accepting client connexion TCPLISTENER
- Linux: wake_up and sleep_on functions
- On the optimization of docker image time-wait
- Hibernate causing too many time_wait connections
- What is the cost of many TIME_WAIT on the server side?
- Wait until print is complete - Jquery Asp.net MVC
- How to use TimeUnit.timedWait() without losing nanosecond precision?
- How to pause a frame from loading in actionscript
- Due to TIME_WAIT, when the server wants to close a connection, isn't it better to tell the client to close it on their end?
- Send email if planned date is passed in dynamics CRM
- Correct way to use SO_REUSEADDR?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Don't hide and show on
window.print(). It will never work correctly, and will cause other issues.Instead, use a separate, print CSS file:
This file will define styles for printing, like:
You can then mark up elements you don't want to print:
Unlike hiding and showing on
window.print(), this works with JavaScript disabled.