I have divs. They can be drag, resizable and i have a div editor.That means i can change any div width,height,margin,padding and it background-color,font-size,font-weight etc.I done this using jquery and i did it perfectly.Now what i want to know How i get all css properties with the each div.
When i done using jquery each div element,style properties changing...
element.style{
width:250px;
height:35px;
top:233.23px;
left:33.12px;
background-color:#000;
font-size:16px;
font-weight:600;
}
like that.So i want to get all above values to the jquery object to create json file.How can i achieve this ?
jquery.css()
?? – bipen