2015-04-14 31 views

回答

1

您需要使用:

var name=src.find("bookstore book price").filter(function(){ 
    return $(this).text()=="35.00" 
}).prev().text(); 
$('#blah').text(name); 

Working Demo

相关问题