1

I have tried to include the external script in my custom admin module view file.

below script i need to include in my custom admin view file.

 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>

Can I add this script directly to view file without adding this in XML file? Will this cause any issue in admin pages if I add this script directly in view file?

Please suggest me ..

Thanks.

1 Answer 1

1

There shouldn't be a problem.

But I would strongly suggest that you use the secure version of jQuery script (i.e. http*s*), since your backend would benefit from having it come over a secure connection.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.