开发者

javascript caller onproperty change

I have a form element who's disabled property is being changed somewhere and I cannot seem to find where it is by looking through the code and disabling code which makes changes to the disabled property.

I have searched here and found 'c开发者_运维百科aller' and tried to implement this but it is not firing off.

What I am trying to do is to determine which function changed the property of the element to disabled.

onchange = "alert("caller is " + arguments.callee.caller.toString());"

Any suggestions?


Try this

onchange = "alert('caller is ' + arguments.callee.caller.toString());"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜