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;
}