html页面的javascript语句
页面后台CS:
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;
}
|