Anil,
I was receiving the same "aspdnsf is not defined" javascript error and found that my page was missing:
Code:
<script src="jscripts/product.js" type="text/javascript"></script>
It seems this is dynamically added to product pages, but I have a custom XML page/package so had to add it manually.
Unfortunately for me, while that fixed the javascript error, the products aren't actually being added to the cart after posting. I don't have source code so I can't make the mods mentioned above. I'll reply if I figure it out.
-matt