This topic is locked

add onblur to and input element in htm page

7/6/2011 7:12:36 PM
PHPRunner General questions
S
stiven author

hello everyone i have been having a lot trouble trying to solve this i'm not sure how to accomplish this.. in the edit.htm template page of my table where the edit controls are.. for some fields i need to add onblur to an input field..


{BEGIN Notas_fieldblock}<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">

<TD style="PADDING-LEFT: 15px" class=editshade_b width=150>{BEGIN Notas_label}Notas{END Notas_label}</TD>

<TD style="PADDING-LEFT: 10px" class=editshade_lb width=250>{$Notas_editcontrol} </TD></TR>{END Notas_fieldblock}


this is how it is right now and this is the htm output on the browser..



<TR style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px">

<TD style="PADDING-LEFT: 15px" class=editshade_b width=150>Notas</TD>

<TD style="PADDING-LEFT: 10px" class=editshade_lb width=250><span id="edit1_Notas_0" style=""><script language='javascript'>
Runner.util.ScriptLoader.addBe4PostLoad(function(){
var newTextArea1 = new Runner.controls.TextArea({
fieldName: 'Notas',
goodFieldName: 'Notas',
shortTableName: 'Vital_Info',
id: '1',
ctrlInd: 0,disabled: false,mode: 1,table: 'Vital Info'});
}, 1);
</script><textarea id="value_Notas_1" name="value_Notas_1" style="width: 300px;height: 100px;">blahhhhhhhhhhh</textarea></span> </TD></TR>


now i need to add the onblur on this line
<textarea id="value_Notas_1" name="value_Notas_1" style="width: 300px;height: 100px;" onBlur="find(this.id);"> is there a way i can do this??