开发者

JSF rich:scrollableDataTable rowcount on javascript popop

I use javascript confirmation pop-up for one of the rich faces command button functionalities. On the same page, I also have a rich:scrollableDataTable. Is it possible for me to show the nu开发者_运维百科mber of data rows in the table on the java script confirmation pop-up? If yes, how can i achieve that?

Thanks in advance - Avinash.


Using jQuery:

var count = $("#yourTableId tbody tr").length;

and then pass it to the pop-up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜