yes you can, just wrap in quotation marks:
width:"100%",
height:"50%"
EDIT:
see the following jsfiddle
6
solved Can we give height in % in jQuery?{Colsed} [duplicate]
yes you can, just wrap in quotation marks:
width:"100%",
height:"50%"
EDIT:
see the following jsfiddle
6
solved Can we give height in % in jQuery?{Colsed} [duplicate]