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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -