// HelloPanel.js // Depends on jQuery //= require jquery jQuery("#${component.markupId}").text("Hello"); When this panel is used on a page, the {@code
} will automaticallygain code like this: <script type="text/javascript"> jQuery(function(){ jQuery("#panel1").text("Hello"); }); </script>
@since 2.0
| |