YasirPoongadan
YasirPoongadan

Reputation: 749

how to inlude js file from htaccess protected site?

how to include js file , without shwoing pop-up?

Here http://samplePoretected.com is htaccess protected site.

i know http://samplePoretected.com username and password.

i tried this but it shows pop-up.

<script type="text/javascript" src="http://samplePoretected.com/app/views/admin/default/javascript/jquery-1.8.3.min.js"></script>

Upvotes: 0

Views: 60

Answers (1)

anubhava
anubhava

Reputation: 785641

You can supply username and password in the URL:

http://username:[email protected]/app/views/admin/default/javascript/jquery-1.8.3.min.js

Upvotes: 1

Related Questions