How To Determine The Current Protocol Using Javascript

Published Date Author: , Posted February 18th, 2011 at 5:07:43pm

var myPrefix = 'https:' == document.location.protocol ? 'https://' : 'http://';

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.