<script type="text/javascript">
$(function () {
$("#citynm1").autocomplete("http://www.mywebsite.com/getcity.php", {
width: 160,
autoFill: false,
selectFirst: false
});
});
</script>
This script is working when site URL start with WWW but if WWW is not available this script is not working. So what can I do?