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

解决方案 »

  1.   

    order.aspxServiceID = '+tid,''
      

  2.   

    window.ope('order.aspxServiceID='+tid, '', 'width=402,height=265,');
      

  3.   

    function show_new(tid)
    {
    window.open('order.aspx?ServiceID='+tid, '', 'width=402,height=265,');
    }还是不行呀!
      

  4.   

    window.open('order.aspx?ServiceID='+tid, '', 'width=402,height=265');我试着蛮好列?
      

  5.   

    你这个tid的值是是数字,还是如 DX1110  这样的字符串呢?
      

  6.   

    好了,解决了
    调用的问题,这样就对了<A href="JavaScript:show_new('DX1110')">