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

Indexing in SQL -

objective c - iPhone and it's wireless area -

multithreading - Do lock objects in Java need to be static? -