Event tracing on this link

Hi,

I have the following line, however, I can’t see the event tracking code in when I view the source.

Can anyone see if anything is wrong?

Thanks


$(this).parent().next().html('<a class="myclass" href="http://www.website.com/' + caption +'" onclick="_gaq.push([\\'_trackEvent\\', \\'Click\\', "\\'+ caption +\\'", "\\' + caption + \\'",, false]);"></a>');