In a page I have a number of text box with name in array format. I want to put a value 'test' in one of them when a function is executed or event is occured. But my jquery code puts value in all the textboxes. Also I cannot put ID to the textbox as its framework generated.
<input type="text" maxlength="255" name="School[school_name]">
<input type="text" maxlength="255" name="School[contact_person]">
<input type="text" maxlength="255" name="School[test]">
$('input:text[name=School[school_name]]').val('test');
Thanks Ab