// i have a form but two input buttons. one is type="submit" another is type="button"
// when i click the button i set a javascript function for submit the form but its not working.....
// some input field is here
// i can solved it by using <a href="">...but i need the input value of the form
// actually i have to submit this form in different controller with input data
<input type="submit" name="submit" id="submit" value="Confirm"> // this tag working fine
<input type="button" name="submit_edit" id="submit_edit" value="Edit Confirm"> // this button showing javascript errors
</form>
// so what is the solution for submit a page with javascript