I have the following checkbox and I want to change it to text after clicking
<input type="checkbox" name="nutriente_f1<? echo $registro6['ID_NUTRIENTE']; ?>" id="nutriente_f1-<? echo $registro6['ID_NUTRIENTE']; ?>" onclick="$nutriente_f1(<? echo $registro6['ID_NUTRIENTE']; ?>,<? echo $registro6['ID_NUTRIENTE']; ?>);">
The only thing I want is to change the Type to text