[英]Explain some javascript code
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 ? 是否有一个IDE /站点可以用来分析下面的代码,并通过单击方法名称或类似名称来获得各种方法调用(例如.push和.hasClass)的解释?
For instance it is very easy to read the documentation behind java code typed in Eclipse. 例如,很容易阅读Eclipse中键入的Java代码背后的文档。 Is there anything akin to this in javascript ?
有什么类似于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;
}
您可以结帐Aptana 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.