1
I intend to put the required attribute in this javascript input
// Celula 4 -Local
// Cria um <td>
var locall = row.insertCell(4);
// Cria o input
var local = document.createElement('input');
// Input do tipo texto
local.type = 'text';
local.name = 'local[]';
local.id = 'local';
local.placeholder='Local';
local.title = "Local";
local.className = "form-control";
locall.appendChild(local);
I put the following id as I said and the input disappears
– saimita
Sorry, I had it figured out differently, try it like this.
– Pedro Luzio
This works, I had already tried, I forgot that the input was button and not Submit , happens
– saimita
Button or radio button?
– Pedro Luzio
<button type="button" class="btn btn-Primary" id="guardarEvento"><span class="glyphicon glyphicon-ok" Aria-Hidden="true"></span> Save</button>
– saimita
No problem, already changed :)
– Pedro Luzio