Prova così:
codice:function fnTextAreaRows(obj) { if (parseInt(obj.getAttribute('rows'), 10) == 5) { obj.setAttribute('rows', 20); } else { obj.setAttribute('rows', 5); } } ...onclick="fnTextAreaRows(this)"
Prova così:
codice:function fnTextAreaRows(obj) { if (parseInt(obj.getAttribute('rows'), 10) == 5) { obj.setAttribute('rows', 20); } else { obj.setAttribute('rows', 5); } } ...onclick="fnTextAreaRows(this)"
<%= Jesus %>
"Non hai veramente capito qualcosa fino a quando non sei in grado di spiegarlo a tua nonna" - Albert Einstein.