jquery-1.8.3 undefined error

jquery-1.8.3 undefined error

Hello,
I am using jquery in our project.
I have added refernce to jquery-1.8.3.js file. I have stored this file locally and referencing it in the project.
I am opening jquery dialog on click of some icon.
For that I have added the below reference



http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"" rel=""stylesheet"" type=""text/css""/>";
<script type=""text/javascript"" src=""http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js""></script>";

I have use the grep function in my javascript file as below

var rows = jQuery.grep(eval(records).rows, function (elem, index) {
                                var IDValue = elem.toString().split(",");
                                return jQuery.inArray(IDValue[0], filterIDs) !== -1;                               
                            });


Need to do eval as getting data dynamic.
This 'filterIDs' is collection of the records that I am getting.

I am getting error in jquery.InArray.
When checked in IE developer tool I see error in inArray function and there it something as undefined and error pops in page as jquery-1.8.3.js is undefined.

Can anyone please suggest on this.
Thanks.