It looks like this:
searchVidResult += '<div class="triovid lastvid"><a href="#" onclick="swapvids('+ finalID +');">....
The issue is, the finalID variable (a string) isn't being quoted correctly, so i get an syntax error or an undefined object error.
how do I get finalID sent to sawpvids?
Thanks for your help!