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

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -