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://&lt;%=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

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -