![]() If you instead want to render a loading message (or anything) into the window while the user waits, you can use Data URIs. Modern browsers will open the window with a blank page (often called about:blank), and assuming your async task to get the URL is fairly quick, the resulting UX is mostly fine. This function now checks the said condition by executing another URL (that executes my Spring controller and returns response).Īll works perfect with only window.open being blocked by popup blocker. I am able to call a function on link's click event. ![]() I have a requirement like on condition1 open a JQuery dialogue and if condition1 is not satisfied, navigate to the page as referenced by 'href' tag of whose click event is in question. Using an ad-blocker should also get rid of the worst advertising offenders as well. I want to show a JQuery dialog conditionally on click event of an hyperlink. In about:config, I did these settings: dom.disableopenclickdelay 2500 - allows a popup triggered by a click within a limited time (milliseconds) dom.disableopenduringload true - blocks spontaneous popups.
0 Comments
Leave a Reply. |