function printThis(patientId) {
window.open("print开发者_如何学Python.aspx?ID=" + patientId, "Site", "menubar=0,resizable=1,width=800,height=900");
}
works fine with firefox and chrome but not with IE (9.0 at least) - "invalid argument", what's the issue and what's the solution?
Thanks in advance.
Window.open must be called from an onClick event. Otherwise Mr popup blocker will eat your window.
Works for me (well replacing your aspx with a valid url). Are you sure the pop-up blocker is not eating your window.open ?
精彩评论