copy value of textbox in html table column to all other textboxes in same column on button click

copy value of textbox in html table column to all other textboxes in same column on button click

Hi, below is my jquery function , can any one help me in iterating through table rows and copying the textbox value in first row to all other rows.. 

below is my jquery code

var _this = jQuery(this);
var defaults = {
method: "AVERAGE",
factorOrDuplicate: "DUPLICATE"
buttonSelector: ".ApplyFactorButton",
textSelector: ".FactorTextBox",
averageContainer: ".ExchangeDataItemAverageContainer",
attachClick: true,
decimalPlaces: 0
};

var options = jQuery.extend(defaults, options);
var _thisIter = jQuery(this);
var _children = _thisIter.children();
var _apply = _thisIter.find(options.buttonSelector);
var _factor = _thisIter.find(options.textSelector);
var _averageBox = _thisIter.find(options.averageContainer);
var _textBoxes = _thisIter.find("div.ModifyItemTextBox input");
var _spanValues = _thisIter.find("span.ModifyValueSpan");
if (options.attachClick) {
_apply.click(function (event) {
event.preventDefault();
var _thisApplyButton = jQuery(this);
if (_factor.val() != '' && parseFloat(_factor.val())) {
var _factorValue = parseFloat(_factor.val());
var inputCounter = 0;
_isFormModified = true;
_textBoxes.each(function () {
var _thisTextBox = jQuery(this);
if (_thisTextBox.val() != '') {
   var _value = _thisTextBox.val();    

    //the below code iterates through textboxes in same row and copies //data of factor textbox to all other textboxes of same row of id 'ModifyItemTextBox'


           $this = $(this)
           _thisTextBox.val(_factorValue.toFixed(options.decimalPlaces));


any help appreciated, i am struggling from 1 week for code, and i am new to Jquery world....plzzz hlp