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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -