doubt construction form

0

Good morning

I have a form that I make inside a cell of a table, what I have there works well.

link

The problem is that I wanted to leave the button in a cell separately, but it is not possible, since this divides my form, therefore it does not work, is there any way to achieve this?

    
asked by zereft 25.10.2018 в 02:43
source

1 answer

0

You can put your button outside the form in the cell you want. And hide the button on your form.

From the outside you can call the click function of the form button with javascript. Assuming that the button inside you put id = "formButton" you would have something like that the outer button.

<input type="button" id="externalButton" onclick="document.getElementById('formButton').click()" />

Greetings,

    
answered by 25.10.2018 в 13:52