SyntaxFix
Write A Post
Hire A Developer
Questions
Style is an attribute so css won't work for it.U can use attr
css
attr
Change:
$('.handle').css({'style':'left: 300px'});
T0:
$('.handle').attr('style','left: 300px');//Use `,` Comma instead of `:` colon