jquery - Execute href and Open URL in a new window -



jquery - Execute href and Open URL in a new window -

i have postback method in asp.net , after want open new blank page.

i displaying message client side , explicitly clicking href href not firing.

<a href="../tools/pagename.aspx" target="_blank" id="aprocess"></a> function downloaddata() { $("#aprocess").click(); }

i want execute href in new page. window.open() not want use. want open new window. using window.open() may blocked browser sometime. hence href phone call explicitly want trigger.

use if want url opened in current window

document.location.href = 'http://url.com';

if want url opened in new window without using window.open(). can utilize

window.showmodaldialog("http://url.com",window);

jquery asp.net

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -