dhiraj_gophane
11 years agoLeader
can we use javascript in mobile header?
Hi, I want to fetch host url for current logged in user using javascript "window.location.host". can I use it in mobile header in skin wrapper? I'm trying but its not working. is there any specif...
- 11 years ago
Its DOne.
Instead of <@liaAddScript> I used <script>.
and put
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
in page head content.
and for host url I used location.hostname instead of window.location.host
its working now.