I'm new to jquery and having a problem getting a value off the page.
This is my HTML:
I want to get the value = 4166
This is my jquery code:
return $(this).text() === "ID:";
woid = $(this).nextALL.text();
But it's not working.
Thanks for the help.
PS - here is a jsfiddle = [jsfiddle]
: http://jsfiddle.net/kvnZn/ You are returning $(this).text() === "ID:"; before the rest of your function is executing.
以上就是jquery extract value from the next td的详细内容，更多请关注web前端其它相关文章！