Reputation: 74610
I want to know if web browsers with Javascript disabled still allow inline Javascript like the following or if they disable that too.
<p onClick="alert('You just clicked a paragraph element.');">Click Here</p>
Upvotes: 0
Views: 320
Reputation: 9007
If you disable javascript after listeners have been established, the functionality may remain
Upvotes: 1
Reputation: 23346
If JavaScript is disabled it is disabled everywhere - so the onClick event will not work.
Upvotes: 3