I am using this code if jQuery. and its not working where it has to be I want to debug every line of code by using "console.log" I am new for this I have installed firebug for debugging Can any please tell me how would I use console.log on this code
<script type="text/javascript">
$(document).ready(function() {
$("select").flexselect({ hideDropdownOnEmptyInput: true });
$("select").flexselect();
$("input:text:enabled:first").focus();
$("form").submit(function() {
alert($(this).serialize());
return false;
;
});
});
</script>

debugger;???