Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#btnNavegarURL").click(function () {
- _url = $("#txtUrl").val();
- if (_url != "") {
- _url = _url.match(/^https?:/) ? _url : '//' + _url;
- window.open(_url, "_blank");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement