Web_Designer
Web_Designer

Reputation: 74610

Do browsers with JavaScript disabled, disable inline JavaScript?

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

Answers (5)

Mikhail
Mikhail

Reputation: 9007

If you disable javascript after listeners have been established, the functionality may remain

Upvotes: 1

Jacob
Jacob

Reputation: 78880

Yes, all JavaScript is disabled.

Upvotes: 3

Naftali
Naftali

Reputation: 146310

simple answer: YES THEY DO

Upvotes: 0

tvkanters
tvkanters

Reputation: 3523

All JavaScript will be disabled, including inline script.

Upvotes: 2

Hamish
Hamish

Reputation: 23346

If JavaScript is disabled it is disabled everywhere - so the onClick event will not work.

Upvotes: 3

Related Questions