javascript - How to find relative path to load js from assets folder -
i have javascripts in assets folder want load in html file when needed need use innerhtml @ times.
i not able find relative path should use can refer js from. have windows phone 8.1 c# project. on using
<script>function myfunction() { document.getelementbyid(\"demo1\").innerhtml= window.location.pathname ;}</script>
i \blank
,so not able find location at. there hint has?
Comments
Post a Comment