Hi. I have this :
<form onSubmit="return loadingArtP();" action="./index.php?status=addarticle" enctype="multipart/form-data" method="post" name="addarticle">
// some input parameters
<a href="javascript:document.addarticle.submit()">Add</a>
</form>
When i click on "Add" i need to call the loadingArtP() function before send the form, but it doesnt work. How can do it?