SORU
4 AĞUSTOS 2011, PERŞEMBE


Protokol,alan adı ve URL bağlantı noktası olsun

Tam protokol, alan ve belirli bir URL, port ayıklamak gerekiyor. Örneğin:

https://localhost:8181/ContactUs-1.0/contact?lang=it&report_type=consumer
>>>
https://localhost:8181

CEVAP
4 AĞUSTOS 2011, PERŞEMBE


var full = location.protocol '//' location.hostname (location.port ? ':' location.port: '');

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Flash CS6 Video Tutorials for Beginners (Actionscript 3 Gaming)

    Flash CS6 Vi

    14 EYLÜL 2012
  • Maya Learning Channel

    Maya Learnin

    23 HAZİRAN 2010
  • NextKsa

    NextKsa

    7 EKİM 2009