File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Whats On India Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Whats On India Error" Watch "Whats On India Error" New topic
Author

Whats On India Error

Arpit Gadle
Ranch Hand

Joined: Dec 16, 2008
Posts: 69

Hey All,
Can any body tell me whats wrong with this website

http://www.kalkisupport.com/testsites/nitin/whatsonindiav2/

It is working fine in FireFox with no error and shows following errors in different IE version,

Webpage error details
IE 8:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Sat, 5 Sep 2009 09:32:20 UTC


Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://www.kalkisupport.com/testsites/nitin/whatsonindiav2/programmelistings.html


Message: 'undefined' is null or not an object
Line: 488
Char: 7
Code: 0
URI: http://www.kalkisupport.com/testsites/nitin/whatsonindiav2/programmelistings.html


The second error in IE8 is that "undefined" is null or not an object. But I checked it thoroughly there no such word called undefined


IE7
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Sat, 5 Sep 2009 09:32:20 UTC


Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://www.kalkisupport.com/testsites/nitin/whatsonindiav2/programmelistings.html



IE6
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Sat, 5 Sep 2009 09:32:20 UTC


Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://www.kalkisupport.com/testsites/nitin/whatsonindiav2/programmelistings.html



And Also check that the table at the bottom of the page is shown in Firefox and but not in IE8( and also shows in IE6 and IE7).


The problem is that this site was developed by the experienced programmer and he left job in between project.We are not able to figure out what actually he done.

Can you give me explanation of the common error in all the IE version

Any help is appreciated

Thanks & Regards
Arpit U. Gadle






Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Arpit Gadle wrote:
The second error in IE8 is that "undefined" is null or not an object. But I checked it thoroughly there no such word called undefined

"undefined" is uninitialized object, when JavaScript is can't create an object, it call as undefined one, like
say


And for IE errors, it points at line 1, so look at the object defined on line 1.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Wow, that's some... interesting JavaScript. My favorite part is the "magic code".

Regarding the "invalid character" error... make sure the file was saved as a plaint text file.

Regarding the other error: line 487-88 is this:Did you check to see if grdTbd exists?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Love the fact it uses JQuery, but none of the custom code is written in JQuery.



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whats On India Error