how can change style of variables on tags?
information :
var $classi = $("#class").val();
var $id = $("#id").val();
var $value = $("#value").val();
$("#").append('<input class="default ' + $classi + '" type="text" id="' + $id + '" value="' + $value + '"' ');
i want addstyle to $value
$value.css('text-align','right') ;
is incorrect . because when i tried that . elements were not made . i want to change or add style values . how can i do that?