I’m using jQuery animate to change the position of an element:
$('#item').animate({'top' : '-50'}, 0);
I don’t need the animation, I just want to set the position. I tried both offset and position, but neither seemed to work right.
How should update this to not use animate?
Thank you!
You could try: