Sign In/My Account | View Cart  
advertisement

Article:
 Very Dynamic Web Interfaces
Subject: Don't forget www in the URL
Date: 2005-02-10 09:29:16
From: ideawire_bb

Good article, easy to follow.


For some reason, in all browsers I tested (IE 6 Win, Safari Mac, Firefox Mac / Win) it only works if you utilize the root url, ie:


http://www.domain.com/form.html


The script simply won't work if you try and access it this way:


http://domain.com/form.html


Hope this saves someone the time and frustration I experienced.


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First

  • 2010-07-09 10:30:52 rayearth

    It's very good


    http://www.u-tools.biz

  • Don't forget www in the URL
    2005-02-12 07:53:25 ErnNJ

    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.






    • 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: