如何从jquery访问标题内容

时间:2011-08-25 12:15:57

标签: jquery image image-gallery photo-gallery prettyphoto

我正在为我的画廊使用漂亮的照片。我想要一些描述在pop up.i给它gref title标签(测试) 现在我想要我的jquery中的标题内容。我怎么才能访问它?

1 个答案:

答案 0 :(得分:2)

var title = $('element').attr('title');