Posted in HTML, Javascript

Textarea – Input

<td><textarea rows=”2″ name=_CANCOMMENT’ + item.quest_id + ‘ id=_CANCOMMENT’ + item.quest_id + ‘ onkeyup = “Validate(this)” ‘ + ‘ onblur = “updateDetail(‘ + item.quest_id + ‘,’ + item._ACTUALPOINTS + ‘)” ‘ + ‘” class=”input-field control form-control” style=”width:400px”>’ + item._CANCOMMENT + ‘</textarea> </td>’


 

function updateDetail (isn, outof) {

var cancommenttextarea = “_CANCOMMENT” + isn;

var cancomment = $(‘textarea[name=’ + cancommenttextarea + ‘]’).val();