I have here a html code inside the javascript one and it will append that on my modal, my question is how can I set to readonly=false property in order textbox to be enabled. I'm trying jquery but it's not working. The group of textboxes must be enabled when calling the class.
<script>
var html;
for ( x=0 ; x < 5 ; x++)
{
html +=' <input type="text" class="changeintofalse" readonly/>';
}
$('#details_info').html(html);
$('#itemsModal').modal('show');
</script>
for:for (var x = 0; x < 5; x++) {. Also in your HTML string>\';needs to be/>';