Object name versus html element id name clash
If you have say a division with ID="blah", then you can not call an object blah.
Example,
...
<script type="text/javascript">
blah = $("input#elem");
</script>
...
<body>
<div id="blah">
</div>
...
[Click to add or edit comments])
Please prepend comments below including a date