return false will stop the execution of the event which calls it. As long as you call it
onclick, the event stopped will be
onclick, not
onsubmit. The
submit action belongs to other element: the FORM element, thus I think your code should look like:
Code:
<form action="" onsubmit="return LoadDetails()">