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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -