1
2
3
4
5
|
< script type = "text/javascript" > var phone='<%=GetPhone() %>'; jQuery('.labFrame').attr('src',"ABC.aspx?Phone="+phone); </ script > |
頁面後臺CS:
1
2
3
4
5
6
7
8
9
|
public string GetPhone() { string phone = Request.QueryString[ "str7" ]; if (phone == null ) { phone = "" ; } return phone; } |