Sign In/My Account | View Cart  
advertisement

Article:
 Very Dynamic Web Interfaces
Subject: Don't forget www in the URL
Date: 2005-02-12 07:53:25
From: ErnNJ
Response to: Don't forget www in the URL

For security reasons the URL must be fully qualified. I put the page in the same directory and did this:


url = 'checkUserName.php?q=' + input;


I am also curios about the “response == ‘1’” not working. I have always found JavaScript to be rather lax when it comes to data types and don’t understand why it is picky here. If anyone can explain it would be appreciated.





No Previous Message Previous Message Move up to Parent Message Up Next Message Next Message


Titles Only Titles Only Newest First
  • Don't forget www in the URL
    2005-11-01 04:25:02 x3

    This happens because of security reasons and
    in IE (in other browsers i havent tested) it can be solved change window.domain property
    It can be change only to up level, so
    when page is loaded as "http://www.domain.com/form.html" the domain property contains string "www.domain.com" and changing it to "domain.com" will enable javascript to load files by url "http://domain.com/form.html"
    and other in this domain
    (P.S. sorry for my english)


Sponsored By: