$(document).ready(function() { $('.license-info .close').click(function() { $.get(createLink('my', 'closeLicenseTip')); }) })