Why Does This Bookmarklet Js Code Not Work When Put In An Onclick Handler?
I have a pretty typical bookmarklet code that's working perfectly for me in all browsers. However, when I take this code and put it in an HTML's element onClick handler, it doesn't
Solution 1:
Solved by adding window.AppD in front of the variable declaration.
Solution provided by Andrew Noyes in another question:
Are there any limitations to what can be done in an inline onclick handler?
Post a Comment for "Why Does This Bookmarklet Js Code Not Work When Put In An Onclick Handler?"