Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

typeerror $(...).jqgrid is not a function?

2 Answer(s) Available
Answer # 1 #

I  am working on Asp.net MVC application in which i am trying to  use

jqGrid 3.4.2 - jQuery Grid

to display the data but  after adding the code as shown below it is throwing the error as "jQuery("#list").jqGrid is not a function http://localhost/starfix/Logbook Line 116" when the  page loads

<

asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">

" title="coffee" media="screen" />

asp:Content>

<

h2>My Grid Data

<

table id="list" class="scroll" cellpadding="0" cellspacing="0">

<

div id="pager" class="scroll" style="text-align:center;">

i am quite  new to  jquery hence not able to  find the reason for this error. Can anybody pls help me in this ?

[5]
Edit
Query
Report
Robin Pallav
BONE COOKING OPERATOR
Answer # 2 #

For example, a function expression:

And, a function declaration:

Historically, function declarations defined within blocks were handled inconsistently between browsers. Strict mode (introduced in ES5) resolved this by scoping function declarations to their enclosing block.

[0]
Edit
Query
Report
Conchata Brixius
Crew Chief

More Questions