window.showModalDialog 中传参是中文的时候,出现乱码


前台语句
window.showModalDialog( "PopForm.aspx?value=卡号 ",...)
在PopForm.aspx页面的Page_Load事件中接收   Page.Request[ "value "]为乱码,难道无法接收中文参数
解决的方法:
window.showModalDialog( "PopForm.aspx?value= "+escape( '卡号 ')+ " ",...)
在后台直接获取就可以了

你可能感兴趣的:(window.showModalDialog 中传参是中文的时候,出现乱码)