JQuery - SSL $.post

Viewed 2965

If I serve a page over SSL, and I do an AJAX post:

$.post('/core/somepage.php', ....);

Will the post be made via HTTPS, or do I have to put an absolute URL like:

$.post('https://example.com/core/somepage.php', ....);

Also, does this apply with :

$('#element').load('/core/something.php');

?

1 Answers
Related