Foundation 5 i can' t change a text

Hi there
i’ve got a problem with a snipet code. I list some db rows with function key F4.
When i had a list with fields i can’t changed the value. The fields that i want change i
had defined in this way:

var b = "<input id='_cognome_" + +nbsp($(this).find("ID").text()) + "' type='text' class='label-form' style='margin:0 0 0 0!important;' value='" + nbsp($(this).find("Cognome").text()) + "'/>"

any solution? The field is like readonly.

got it

the problem was the istruction that i used before create the rows.
The problem is

e.preventDefault();

I thought that statement cancel old function.