i have a table of 100 columns. For each mouse hover on the cells i want to call a single function.

```
$('.cellNumber1').hover(function(){
  $.ajax({
    type: "GET" ,
    url: "js/images/excel2XML.xml" ,
    dataType: "xml" ,
    success: function(xml) { 
        $title=$(xml).find('property').attr('name');
        $('.context-menu-one11').attr('title',$title);
            jQuery('.cellNumber1').jBox('Tooltip', {    });
            incr++;
        }
    }
  });
});

```

Similarly cellNumber2 to cellNumber100 i want to call the same function. But have to change the class name from the function called inside the hover function. 

*What i want is to replace the classname wherever it comes in the function for each cells*.
In the straight forward way and as a beginner, what i find is writing 100 functions with replacing the class name and i find it as too much 

part-2
------

I have the cell content as numbers from 1 to 100. similarly i have the xml with one of the attributes named **rowpos** with the matching values ie from 1 to 100.
When cell 2 is hovered i want to retrieve the xml attribute **rowpos** having value 2 and get the values

XML

```
<parent>
    <property rowpos="2" data="Cell Value2">
         <values id='02'/>
    <property rowpos="3" data="Cell Value3">
         <values id='04'/>
      .................

```