wmjaggers of VinSolutions
2/3/2015 - 10:32 PM

Insert form labels as form field placeholder.

Insert form labels as form field placeholder.

$(function(){
	$.each($(".itemrow"), function () {
		var $this = $(this),
		$label = $('.label',$this).text();
		$('input',$this).attr('placeholder',$label);
		$('textarea',$this).attr('placeholder',$label);
	});
});