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.
To indicate certain records are expired, I want to generate a report that the font color of the field would change (to red) if the date value is greater than today. Please help. Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.