开发者

How can i access title content from jquery

开发者 https://www.devze.com 2023-03-30 21:58 出处:网络
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)

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');
0

精彩评论

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