源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

onpropertypchange

  • 时间:2022-10-24 05:21 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:onpropertypchange
<html> <head> <script language="javascript"> function changeBox(status) { textbox.style.display = status ? "" : "none" } </script> <script language="javascript" for="test" event="onpropertychange"> var propName = event.propertyName var propValue = this[propName] switch(propName) { case "checked": changeBox(propValue) break; } </script> </head> <body> <input type="radio" id="test" name="radio" checked="true" /> <input type="radio" name="radio" /> <input id="textbox" /> </body> </html> <div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand"> <input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部