Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <apex:component>
- <script id="View" type="text/template">
- <button type="button" class="btn btn-primary myBtn">Click</button>
- </script>
- </apex:component>
- <apex:component>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $('#myBtn').click(function () {
- alert("Hello")
- });
- });
- </script>
- </apex:component>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement