How i can make a dynamic css class without use of id.
$( "#mydiv" ).css( "width", $("#widthtextbox").val() );
$( "#mydiv" ).css( "height", $("#heighttextbox").val() );
i want to use several css class for the work.
How i can make a dynamic css class without use of id.
$( "#mydiv" ).css( "width", $("#widthtextbox").val() );
$( "#mydiv" ).css( "height", $("#heighttextbox").val() );
i want to use several css class for the work.
Use class selector
$(".yourclass")
this should solve it