When I run a call to .post(), everything works fine. My server side component does its thing, returns an excel sheet to the browser where I see a gray box pop up asking me if I want to view the excel file or save it:
function doMySubmitStuff(){
$.post("/acme/getphonelist", $("#org_abbr").serialize() );
}
However, if I move things around into other functions, the server side component executes, but I don't get a gray dialog box asking me to view or save the excel file:
function doMySubmitStuff(){
doSomeStuff();
doMe();
}
function doMe(){
$.post("/acme/getphonelist", $("#org_abbr").serialize() );
}
Is there a scope issue of some kind?