-3

How to add jQuery in browser for testing.

  1. Using javascript
  2. IN browser where jQuery not enabled by default

Like using script tag???

2
  • Here is a list with different options. Commented May 27, 2021 at 11:26
  • 1
    This might be helpful for you. Commented May 27, 2021 at 11:33

1 Answer 1

1

You can use this snippet to inject jQuery using developer console

var script = document.createElement('script');
script.src = "https://code.jquery.com/jquery-3.6.0.js";
document.head.appendChild(script);
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.