js:
function show_new(tid)
{
window.ope('order.aspxServiceID='+tid+'', '', 'width=402,height=265,');
}
调用:
<A href="JavaScript:show_new(12)">预定</A>问题在于
当tid 为数字时没有问题,现在我要tid 为一个字符串如;XL12,应该怎样改呢?
function show_new(tid)
{
window.ope('order.aspxServiceID='+tid+'', '', 'width=402,height=265,');
}
调用:
<A href="JavaScript:show_new(12)">预定</A>问题在于
当tid 为数字时没有问题,现在我要tid 为一个字符串如;XL12,应该怎样改呢?
{
window.open('order.aspx?ServiceID='+tid, '', 'width=402,height=265,');
}还是不行呀!
调用的问题,这样就对了<A href="JavaScript:show_new('DX1110')">