How can i access title content from jquery
-
12-01-2021 - |
Question
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?
Solution
try
var title = $('element').attr('title');
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow