I need to change the position of an element i\'m loading with ajax. I want to use .css() to change it but jQuery can\'t find the element cause it\'
ajax
.css()
If you want to edit it's CSS, you need to place it in the DOM first, then manipulate it.
Example:
$.ajax({ ... success:function(data){ $('').appendTo('body').html(data).css('border','3px solid red'); } });