<a href= "javascript:OpenURL( 'fee_query.do?method=xxx¤t_company_id= "+current_company_id+ " '); "> <img src= "images/right_03.gif " width= "178 " height= "25 " border= "0 "> </a>
连接一个字符串总是报错~
------解决方案--------------------
<a href= "javascript:OpenURL( 'fee_query.do?method=xxx¤t_company_id= '+current_company_id) "> <img src= "images/right_03.gif " width= "178 " height= "25 " border= "0 "> </a>
------解决方案--------------------
current_company_id,全局变量?
我习惯这样写 <a href= "# " onclick=doChangeURL()>
//---------script段
function doChangeURL(){
window.location.href= "fee_query.do?method=xxx¤t_company_id= "+current_company_id;
}