I think I am getting close. But what should I put in the blanks? I don't want to create a separate .js file and instantiate class. Is there any short cut?
//Java public void afterRender() { String urI = componentResources.createEventLink("changePulseMode").toAbsoluteURI(); javaScriptSupport.addScript("???", url); } //Javascript jQuery(document).on("click", ".pulseMode", function () { var radioId = jQuery(this).data('id'); var link = jQuery('yesButton'); link.href = ? + '?id=' + radioId;