<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000066">
Hi,<br>
<br>
<br>
I was just wondering if there is any better way to accomplish that.<br>
<br>
Some divs has 'level' attribute, with a number. If that number is
bigger than X, will remove the div.<br>
<br>
var x=4; // simulating<br>
level=parseFloat($this.attr('level'));<br>
$('.qualif').each(function() {<br>
if ($(this).attr('level')>x)<br>
$(this).remove();<br>
});<br>
<br>
I don't know if we can set a filter in $('') to look at a custom
attribute, should be simpler than<br>
<br>
<br>
Feijó<br>
<br>
</body>
</html>