How can i access title content from jquery
i am using pretty photo for my gallery. i want some description 开发者_运维知识库to be in the pop up.i give it in gref title tag (test) Now i want the title content in my jquery. how can i access it?
try
var title = $('element').attr('title');
精彩评论