Page 1 of 1

How can I open a url via jquery?

Posted: Wed Mar 13, 2013 3:29 pm
by Ed Jones5461080

This is dumb, but I'm just stuck. I have a select tag (3 options). I can get each option to fire an alert(). But then I simply want to open an external link from each.

I don't care if its in app or in the external browser--whichever is easier to get started.

Thanks. Sorry..


How can I open a url via jquery?

Posted: Wed Mar 13, 2013 3:36 pm
by maxkatz

You can use:
code
window.open ("http://www.somesite.com"):
/code


How can I open a url via jquery?

Posted: Wed Mar 13, 2013 3:43 pm
by Ed Jones5461080

Thanks, Max! I guess I'd tried everything but..