Open dynamically created links with inAppBrowser
Hi guys.
My app dynamically creates a list of video links by making requests to a website.
I mapped the created URLs to a link component and used this code that I found in another question ( https://getsatisfaction.com/apperyio/... ):
var a = $('a[name=mobilelink_62]');
window.open(a.attr('href'), '_blank', 'location=yes');
as an on click function for a button component. The idea being that when a person clicks the button the video will appear in the inAppBrowser.
The problem is that any button clicked always directs the user to the newest video in the list.
Are you guys able to help me with this problem?
I'm sorry if I haven't explained myself very well!