js中如何调用onresize

js中如何调用onresize

onresize的定义方式一、直接在html中定义如&ltbody onresize="doResize()"&gt二、直接给onresize赋值给window和body的onresize赋值如wind
JavaScript360