Hi We have Rails application,
We implemented the JQuery Ajax. The Url was got excuted and got result in data object as html.
jQuery.ajax({
type: 'GET',
url: u,
data: {
id: id,
LANG: "ENG"
},
dataType: 'html',
success: function (data, textStatus) {
},
error: function (xhr, err, e) {
alert("Error: " + err);
}
});
our Html response is :
<html>
<span id='rate'>
<img src="www.text.comt/star.gif" width=10, height=10 >
</span>
</html>
Actually there are 5 image tag will come the span section. We want get all the 5 image tag and display the impages in our application.
How can we do this with "data" object.