Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为我的画廊使用漂亮的照片。我想要一些描述出现在弹出窗口中。我在 gref 标题标签(测试)中给出它现在我想要我的 jquery 中的标题内容。我怎样才能访问它?
尝试
var title = $('element').attr('title');