Как сделать, чтобы стиль применялся только к выбранному объекту, а не ко всем сразу?
$('#add_text').mousedown
(
function()
{
$('#add_text').css('background-color', 'blue'),
$('#template').prepend('<div id="text_frame"><input class="input_text"/></div>'),
$('div#text_frame').attr("class", function (arr) {return "nomber" + arr;}),
$('div#text_frame').mousedown(function(){$('div#text_frame').addClass('select_text_frame');}),
$('#text_frame').draggable('enable'),
$('#text_frame').draggable({containment: '#template', distance: 1});
}
);