Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Elements is null or not an object

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 31-08-2009
Member
 
Join Date: Aug 2009
Posts: 57
Elements is null or not an object
  

I have developed a website in JavaScript and it was working properly till last Wednesday. But since then I am unable to get it working. I am getting the error message as "Elements is null or not an object". Can anyone tell me what is wrong with my JavaScript?

Reply With Quote
  #2  
Old 31-08-2009
Member
 
Join Date: Nov 2008
Posts: 1,192
Re: Elements is null or not an object

You are trying to use some element in your form which is not supported. Make sure you have used proper elements for each tag and make proper changes if it isn't. Other than that it is impossible for me assume anything without your code. It would be better if you can post back with your code which results you this error message.
Reply With Quote
  #3  
Old 31-08-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: Elements is null or not an object

When are you getting the error message: when the user enters some data or when you are loading the form? Didn't you have properly coded to handle such kind of events? If it is present then try revise your code especially your event handler if it improperly coded. If user enters improper entry then give him proper error message rather than allowing the compiler to display handle the situation.
Reply With Quote
  #4  
Old 31-08-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Elements is null or not an object

This kind of messages appear if you have a variable or an object that is either undeclared or it is used at improper location. I mean if a variable is declared inside a block and if it called outside that block then you may get such kind of error messages. Also if you are having an expression where the variable used doesn't have any value assigned.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Elements is null or not an object"
Thread Thread Starter Forum Replies Last Post
Getting HP AIO Device object server register class object failed message on my system Donoho Hardware Peripherals 6 06-06-2011 02:34 AM
this.style is null or not an object D_chapple Software Development 3 03-12-2009 09:23 PM
Error - null or not an object Solaris Software Development 3 26-11-2009 02:35 PM
window.external' is null or not an object Kelewyn Technology & Internet 3 19-08-2009 08:58 PM
Photoshop Elements and Premiere Elements go to version 7.0 Killen Customize Desktop 2 29-08-2008 02:17 PM


All times are GMT +5.5. The time now is 06:10 AM.