javascript - use css link with script gets encoded -
i using static server ip in references .js , .css, .js files pick .css files being encoded
<link href="http://<%=set_server()%>/css/jquery-ui-1.10.4.min.css" rel="stylesheet" />
gets <link href="http://<%=set_server()%>/css/jquery-ui-1.10.4.min.css" rel="stylesheet" />
.
did has before , knows solution how not encoded?
i recommend not using inline code in href path. if change <link href="/css/jquery-ui-1.10.4.min.css" rel="stylesheet" />
should work (note leading slash, go root directory of site).
if really need use inline code build url reason, should build whole link tag in code (so have call function , builds proper link tag).
Comments
Post a Comment