Getting the content on a div using class name
I have my php script return this huge html
http://jsfiddle.net/thiswolf/H8HTX/ but i am only interested with the content of the div with the class name one.
This is the code i am using on success
- success: function(html){
- var ifilter = jQuery(html).find('.one').html();
- alert(ifilter);
- }
The code does not filter as i would have wanted.