Xianqiao Wang

Xianqiao Wang

Some records of life and study

  • Home

HTML中 的 js

onclick="func(this)" >here
this 指代 , onclick 属性是在点击的时候以 js 执行字符串代码

href="javascript:func(this)">here
this 指代 window 对象

Published by Xianqiao Wang on January 14th, 2017

  • Html
  • RSS

© 2025 Xianqiao's Site.

Design by Fabien Penso. Powered by Postach.io