Код: Выделить всё
*
jQuery(document).ready(function(){
var c = $("#hi").text();
$(c).css('color','red');
var content = jQuery('input:text').attr('placeholder');
jQuery('input:text').attr('placeholder',content+c);
});
Подробнее здесь: https://stackoverflow.com/questions/643 ... ing-jquery
Мобильная версия