I have a <base href="page1.html"> in the <head> section and want to change that URL based on a checkbox.
Sample code:
function change_base_href()
{
if (change_url.checked)
}
Can someone provide me the javascript code that makes the "base href" to change to another URL?
Thank you.
Sample code:
function change_base_href()
{
if (change_url.checked)
}
Can someone provide me the javascript code that makes the "base href" to change to another URL?
Thank you.