<asp:ImageButton ID="IBHead" runat="server" ImageUrl="/images/cphoto.gif" OnClientClick="Create()" onclick="IBHead_Click"/> <img id="imgCreat" style="display: none;" /> function Create() { $("imgCreat").src = "ImgCropper.ashx?ph=" + ph + "&" + Math.random(); }這是我的前臺代碼,當我點擊按鈕的時候,就進入了,ImgCropper一般處理程序,但是我想讓他執行完后條用jsimgCropper.ashx中 context.Response.ContentType = "text/html"; context.Response.Charset = "gb2313"; HttpContext.Current.Response.Write("<script>Master.parent.UpdateMsddg()</script>");但是怎么也不執行UpdateMsddg函數,另外我這個頁面是在內容頁,有母版的,是不是這個他不走了啊,我在這個方法中就寫了alert,但是他就不走,請高手指點
- 2 回答
- 0 關注
- 682 瀏覽
添加回答
舉報
0/150
提交
取消