encodeURI及js

 

var force=${force};

//如果${force}为字符,要对应用‘0’

if(force!='0'){
   document.getElementById('date').style.display='none';
     document.getElementById('measureMore').style.display='none';
   }

 

 $.get("<%=basePath%>checkRole/holidayCode.action?pkgId=" + encodeURI(encodeURI(pkg)),null,function(response){
       $("#gg").html(response);
      });  

你可能感兴趣的:(html)