Ajax Poll Script showing insecure XMLHttpRequest
I created a new website which ask user to poll. I am using "Ajax Poll Script" by phpkobo. Site is ok on non-ssl but when I install ssl certificate then its showing Mixed content error.
I search about it here but didn't got any solution and also tried to fix it myself but failed. I am new to this type of mixed content error.
**Exact Mixed Content Error Showing is:**
jquery.js:4 loaded over HTTPS, but requested an insecure
This content should also be served over HTTPS.
The code of the ajax-poll file is: