0
A
回答
0
只是一个答案的缘故获取数据:
使用attr()
,而不是prop()
0
您可以使用data-*
属性,并使用.data()
+0
一个有趣的想法。我将为未来考虑这一点,但我现在坚持使用attr('longdesc')。 – User970008 2013-03-26 19:21:59
相关问题
- 1. jQuery .prop()函数不工作(.prop()vs .attr())
- 2. jQuery的.prop()的兼容性
- 3. HTML5 longdesc标签图像
- 4. .prop()与.data()
- 5. jQuery .prop('disabled',true)忽略.val('myval')
- 6. jquery select script node get get
- 7. Stub .prop()with sinon
- 8. jquery get image size
- 9. jQuery $ .get loading
- 10. flask jquery GET 404
- 11. jquery $ .post()vs $ .get()
- 12. jQuery $ .get和Rails
- 13. .prop( “选中”,FALSE)不完美
- 14. Prop始终为空
- 15. .prop(“checked”,true)问题?
- 16. prop is undefined insideWillReceiveProps()方法
- 17. 要通过使用jQuery POST GET值GET
- 18. HTML form w/method =“get”VS. JQuery $ .get
- 19. obj和obj.hasOwnProperty(prop)和obj [prop]之间的区别?
- 20. JQ_CheckAllCheckBox 1.prop。 2.prop与每个。两者是相同的?
- 21. 如何检查“for”prop prop excists的标签?
- 22. jquery get select()选择
- 23. jquery ui selectable get id?
- 24. jQuery $ .Get not working correctly
- 25. jQuery .get()DOM怪异
- 26. jQuery get #foo的outerWidth()
- 27. jQuery ajax()vs get()/ post()
- 28. JQuery URL GET变量
- 29. jQuery的get访问
- 30. jQuery的GET ATTR值
你可以试试'。 attr()'而不是'.prop()' – 2013-03-26 19:15:23