Menu
I’m executing a function on onclientclick.
var newwindow;
function GetUrlPage() {
var pplid = document.getElementById(‘<%= tbPersonId.ClientID %>’).value;
newwindow = window.open(‘MXUrl.aspx?PersonId=’ + pplid, null,
“Width=475px, Height=500px; top=42px; scrollbars=1; toolbar=0; titlebar=0; menubar=0; statusBlush |
Nothing happens. If I add an alert(“some message”); after the window.open everything works great.
I can only assume it is just blowing thru the code but I don’t know how to make it wait.
Don’t do much in javascript so am really at a loss. Really appreciate any help you can give me.