Access text node inside tag (jQuery)
Hello, I'd like to access a text node inside a tag
Tried a mix of contents() and find(), can't seem to be able to pass it to a variable
Are those even the right functions to allow me to do it?
you are probably looking for either html() or text(), or maybe even val(), depending on what the tag is.
btw, you're better off posting in the Frameworks sub-branch - this has nothing to do with the DOM or JSON
|All times are GMT +1. The time now is 02:36 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.