Jquery to max number from a set of divs
        Posted  
        
            by Matias
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Matias
        
        
        
        Published on 2010-04-08T20:14:59Z
        Indexed on 
            2010/04/08
            20:23 UTC
        
        
        Read the original article
        Hit count: 232
        
jQuery
Guys,
Given the following HTML
<div class"myclass">10</div>
<div class"myclass">25</div>
<div class"myclass">50</div>
<div class"myclass">20</div>
I want Jquery to return the maximum value found on divs with class:"myclass". (This is 50)
I thought of using .find.text() will be a good starting point but cant figure out exactly how,
Help is greatly appreciatted,
Thanks
© Stack Overflow or respective owner