Setting width as a percentage using jQuery -


How can I determine the width of a div as a percentage by using jQuery?

Function usage:

  $ ('div # somediv' ) Width ('70% ');  

will be turned on:

  & lt; Div id = "somediv" />  

In:

  & lt; Div id = "somediv" style = "width: 70%;" />  

Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -