What is the appropriate method to use onclick to access an external website (that I own). Or access youtube..
First question is, do you need to use the onclick vs a regular html button/link?
Button will suffice. Please elaborate..
Thank you
Has anyone used cordova.Inappbrowser?
The basic link is this:
<a href="url">link text</a>
From there, you can add a class like btn-primary (I think appstudio is using bootstrap) like this:
<a class="btn btn-primary" href="url">link text</a>
Have you looked at the window.open function?
For example,
Button1.onclick=function(){
window.open("http://www.nsbasic.com", "_blank", "popup")
}
BASIC:
Function Button1_onclick()
window.open("http://www.nsbasic.com", "_blank", "popup")
End Function
Pops up a new page with the external website.
There are lot of options:
Thank you for your help!!