When i click on button to open new window in java script then open new window but in URL automatically append my server name. how to remove this error. code given below.
Html code:
<input class="cssButton button_buy_now" type="submit" name="live_chat" id="live_chat" value="Get Answer"></input>
java script code:
$('#live_chat').click(function() {
return window.open("www.helloexperts.com/index.php?main_page=filerange_chat&ex=1");
}):
but when new window open automatically append localhost in start like
locahost/www.helloexpert.com
why append localhost in start please help me:
http://infront of the url