how to pass input value form a page into a database using this onClick function.
<input type="button" name="save" value="SIMPAN" onClick="save_a ll()">
i've tried a few times, each time i click the button, its work but the values were not insert into the database, its null!!

this is my function save_all() look like:-

<script language="JavaS cript"...