You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<html>
<head>
<script type="text/javascript" src="./jquery.csv.js"></script>
</head>
<body>
</body>
<script>
console.log($) // Uncaught ReferenceError: $ is not defined
</script>
</html>
When logging $, I get an error that says that $ is not defined.
This is true also with '$.csv' | '$.csv.ToArray' | '$.csv.ToArray("whatever text")' | etc.
Environment
Platform: Browser
Version: Edge 116.0.1938.69
Usage: Load from file with <script> tag
The text was updated successfully, but these errors were encountered:
You aren't loading jQuery, this library is just extending $ object.
I just added the jQuery library to your example and it works properly.
<html>
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="./jquery.csv.js"></script>
</head>
<body>
</body>
<script>
console.log($) // $ is defined
console.log($.csv) // $.csv is also defined
</script>
</html>
Here is the most simple HTML implementation:
When logging $, I get an error that says that $ is not defined.
This is true also with '$.csv' | '$.csv.ToArray' | '$.csv.ToArray("whatever text")' | etc.
Environment
The text was updated successfully, but these errors were encountered: