I have a .html page that need to be a little smarter.
Is it possible in javascript to do the following
Check the url of the page
IF the page is say page1.com THEN redirect to page1.com/new
ELSE it will be page1.com/new so process page.
I would usually do this using php but the page has to stay .html.
Thanks
Is it possible in javascript to do the following
Check the url of the page
IF the page is say page1.com THEN redirect to page1.com/new
ELSE it will be page1.com/new so process page.
I would usually do this using php but the page has to stay .html.
Thanks