View Single Post
Old 01-22-2010, 02:46 PM   PM User | #4
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
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()">
__________________
KOR
Offshore programming
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote