• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 488
  • Last Modified:

How to get rid of 'undefined' is null or not an object error?

I currently have a page with 2 radio buttons to determine if the user is a returning customer or a new customer.  When the page loads it displays the radio buttons with the returning customer selected.  Below it is a login control that is contained in a separate user control.  If the user wishes to then login the page works fine but if they try to select the "new customer" radio button it does nothing and comes up with the following error:  'undefined' is null or not an object.  What should happen when the radio button is clicked is that the login control should be hidden and panel containing the new user fields should appear.
0
ciphron
Asked:
ciphron
1 Solution
 
prairiedogCommented:
It seems that you use JavaScript to find the login control and hide it if user selects "new customer". Check your JavaScript to make sure it indeed finds the control before accessing any property/style of the control.
0
 
Anurag ThakurTechnical ManagerCommented:
can we have a look at your javascript code and the server side code from where you configure your javascript events
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now