Answers for "jquery create element properties"

0

jquery create element properties

jQuery('<div/>')
	.height("100px")
	.width("100px")
	.css('background','chocolate')
	.css('border-radius','5px')
	.addClass('firstclass')
	.attr('id','newdiv')
	.attr('data-info','test')
	.appendTo('body');
Posted by: Guest on July-25-2020

Code answers related to "jquery create element properties"

Code answers related to "Javascript"

Browse Popular Code Answers by Language