1

i have been following an online example available at fiddle. It clearly shows how to query javascript objects using sql queries. this is the exact situation for me.

However, the problem comes in when i try to run this fiddle example in my asp.net project.

as per the below link [https://github.com/agershun/alasql/wiki/install]

i have tried adding :

<script src="alasql.js"></script>

in the head tag along with its js files in my project

I also added(for another try)

also

<script src="alasql.min.js"></script>

But upon debugging the project i get the below error: Uncaught ReferenceError: alasql is not defined

and, when i view page source no such link comes up which i provided in my html page head tag.

4

1 に答える 1

1

2 つのソリューションのいずれかが必要です。

  1. HTMLalasql.min.jsが提供されているのと同じフォルダーにある

また

  1. スクリプトを含める

     <script src="http://cdn.jsdelivr.net/alasql/0.7/alasql.min.js"></script>
    
于 2016-03-14T23:39:28.590 に答える