0

Is there an ide/site that I can use to analyse code below and get an explanation of the various method calls such as .push & .hasClass by just clicking on the method name or something similar ?

For instance it is very easy to read the documentation behind java code typed in Eclipse. Is there anything akin to this in javascript ?

 function fnGetSelected( oTableLocal )
  {
    var aReturn = new Array();
    var aTrs = oTableLocal.fnGetNodes();

    for ( var i=0 ; i<aTrs.length ; i++ )
    {
        if ( $(aTrs[i]).hasClass('row_selected') )
        {
            aReturn.push( aTrs[i] );
        }
    }
    return aReturn;
  }
blue-sky
  • 51,962
  • 152
  • 427
  • 752

2 Answers2

3

Eclipse market place lists at least 2 plugins:

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
1

You may checkout Aptana.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928