关于Location的一个问题,在线等,马上揭帖
function   book(a) 
 {       
          location= 'Book.aspx?htlcd=a '; 
 }   
 a是一个参数,值类似:01   02   03  等   
 我现在要把a作为一个参数跳转页面,请问怎么写才是正确的呢?   
 因为我这个写法是错误的~~转过的时候,叶面就是Book.aspx?htlcd=a   
------解决方案--------------------location= 'Book.aspx?htlcd= "+a+ " '; 
------解决方案--------------------Book.aspx?htlcd= "+a+ " 
------解决方案--------------------function book(a) 
 {   
    location= 'Book.aspx?htlcd= ' + a; 
 }