blazor how to use jquery library

Viewed 2557
1 Answers

In order to use JavaScript libraries with Blazor you must use JavaScript Interop. Blazor needs to be in control of the DOM in order to work correctly. Attempting to use JavaScript without Blazors knowledge will cause lots of issues.

I would suggest reading up about JavaScript Interop on the official docs.

Related