$(document).ready(function(){
$("button.save").click(function(){
alert("payment_type_form_");
});
PlanTabs.Open("payments");
$("#payment-types-accordion").lyfAccordion();
});
All good works. But .click() doesn't. If I move this code to html <script></script>
all good nice.
Are you sure jQuery is included before this script file? That's where I've encountered these problems.
try putting your script near the bottom of the </body>
tag
精彩评论