code below working fine but not in IE6, IE7, below is the code is there any error please help
$(document).ready(function(){
$(".backgroundElement").bind( "keyup change", function () {
var color=$("#colorpickerField1").attr('value');
var brnbackgroundurl=$("#brnbackgroundurl").attr('value');
var scrollwithpage=$('#scrollwithpage').val();
var bgposition=$('#bgposition').val();
var bgrepeat=$('#bgrepeat').val();
$("body").css({
'background':'#'+color,
'background':'url('+brnbackgroundurl+')'+bgrepeat+' '+ bgposition,
'background-attachment':scrollwithpage
});
});
});