If you already know the value to append when loading the page then you can add this when the document is ready : If you're using JQuery use this:
$( 'class' ).attr( 'href', function(index, value) {
return value + '?item=myValue';
});
Otherwise (plain Javascript):
var link = document.getElementById("mylink");
link.setAttribute('href', 'http://www.johndoeslink.com'+'?item=myValue');