html - Javascript if (window.location.href) adding two urls -
very simple question can't find answer. can put 2 url's inside
if (window.location.href
here mine:
if (window.location.href == 'http://example.example.com/support/default.asp') { }
i need add second link... want div load page , 1 more page.
it should simples as
if (window.location.href == 'http://example.example.com/support/default.asp' || window.location.href == 'http://secondurl.com') { }
unless misunderstood problem.
Comments
Post a Comment