Q:

onclick not calling my javascript function

I am trying to call a javascript function from an onclick, but it does not seem to be registering. I am having trouble tracking down the issue because no error is being reported in chrome inspect element.
MY button code looks like this:
$button = "<button class=\"btn btn-mini btn-success\" id = \"$divName\" onClick\"return upVote($linkID, $linkUser)\">$votes Votes</button>";

and my java script looks like this:
function upVote(id, userID)
    {

        alert(id);

        return false;
    }

you can try out the buttons on the blog link tab on this page:
http://www.beerportfolio.com/beerPage2.php?id=f5DoHi

A:

You are missing the "=" in 
onClick=\"return upVote($linkID, $linkUser)\"

