I am using jquery and new to jquery. i have below the code in section as below.
<script type="text/javascript">
$(function () {
$(".lbCriterionStep3").click(function () {
//code
});
});
$(function () {
$(".lbCriterionStep4").click(function () {
//code
});
});
</script>
Is it proper to write like this? can function contain multiple $(function () ?
Thanks!