1.

What is the solution to the absence of a script tag without an src attribute?(a) Resend the scripts(b) Create inline JavaScript(c) Attach a javascript file(d) Include a fileI got this question in an interview.This intriguing question originated from Script Loading topic in portion Invocation and Performance Navigation of JavaScript

Answer»

Correct answer is (b) Create inline JAVASCRIPT

For EXPLANATION I WOULD say: The solution to the absence of a script TAG without an SRC attribute is to create inline JavaScript to append script tags to the document dynamically, for example:



Discussion

No Comment Found

Related InterviewSolutions