Problem getting started

Problem getting started

ep0120ep0120 Posts: 2Questions: 0Answers: 0
edited July 2011 in General
I am trying to get started with datatables plugin and continue to get a javascript error when I try to preview the page in RAD 7.5. I have included the sample code that is giving me fits. It keeps puking on the script and stating there is an error @ line 14 and that the error is Object expected...can't see where the issue is and would appreciate some words of wisdom.

Thanks,
E

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">











$(document).ready(function()
{
$("#testTable").dataTable( {
});
});



Insert title here









EIN
NAME
DESAC
TITLE
HOME OFFICE
ADDRESS
ZIP
PRIMARY PHONE
ALT PHONE
TXT MSG
EMAIL
PRIMARY DU
ALT DU
SUBMIT DATE
VEHICLE TYPE
QUAL STAT
EMPLOYEE STAT
INACTIVE REASON
N95 TYPE




01234567
JOE W. SMITH
123
POSTMASTER
ST. LOUIS
1720 SOUTH MARKET
63101
3141234567
3142345678
Y
joewsmith@gmail.com
1434957
1352369
07/04/2011
3
Q
A

ABC123D456E789



24681012
MICHAEL A. MANTLE
234

LOUISVILLE
1920 S STATE
40123
1234567890
0987654321
N
michaelamantle@gmail.com
1436337
1436331
01/01/2010
1
Q
I
RETIRED
N95RET123



35791113
JAMES L. JONES
345
MAILMAN
NEW YORK CITY
777 WALL STREET
12345
1112223333
2223334444
Y
jamesljones@gmail.com
1363775
1365244
03/17/2011
2
P
A

N95TESTMODEL

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    Your page worked for me, but note that I pulled out JQuery UI since I don't have it. You also are including 2 JQuery scripts. remove one of them and see if things improve.
  • ep0120ep0120 Posts: 2Questions: 0Answers: 0
    fbas,

    I tried that and it still did not work in RAD 7.5. Funny thing is that it works like a champ when I run it live on my server...very weird indeed! Mus be a quirk in RAD 7.5 when you try to preview a jsp page with jquery init??

    Anyways, thanks for the help!

    E
This discussion has been closed.