This is how I usually do it (example: Clicking on a link in popup.html)
popup.html
<a href="http://whereever.you.go.com/whatever.html" class="clickme">Click</a>
popup.js
$('.clickme').click(function() {
chrome.tabs.create({url: $(this).attr('href')});
});
or vanilla Javascript (every element with class clickme
is an anchor)
window.addEventListener('load', function() {
var theAnchors = document.getElementsByClassName('clickme');
for(i=0, len=theAnchors.length; i<len; i++) {
theAnchors[i].addEventListener('click', function() {
chrome.tabs.create({url: this.href});
}, false);
}
}, false);