G.replace is not a function
Hey
i got jquery-1.3.2.min.js and prototype.js in same JSP.
i did replace $ with jQuery and include jQuery.noConflict().
i have to display group of boxes with same height.
code is breaking at :
group.height(tallest).
showing " G.replace is not a function " error.
<---- here is my script------->
<script type="text/javascript">
jQuery.noConflict();
function equalHeight(group) {
var tallest = 0;
group.each(function() {
thisHeight = jQuery(this).height();
if(thisHeight > tallest) {
tallest = thisHeight;
}
});
group.height(tallest);
}
jQuery(document).ready(function(){
jQuery('.boxContainer h2').corner('top');
jQuery('.row').each(
function(){
equalHeight(jQuery('.boxContent', this));
}
)
});
</script>
Thanks,
rvs