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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -