Hello everyone, i'm working on a project that is using JQuery and Phonegap. The project is using the xml method for retrieving data from a website. Sometimes the posts of the xml contains a facebook links and i want when the user clicks on the link to open the facebook app if it is installed on the device or to open the default browser and not open it on the application.
I made this function but it opens the link on the application instead of another broswer
function open_fb()
{
window.open("https://www.facebook.com/choicefm1043")
}
Can anyone know how i can do it?
Thank you
George