Solved

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

Posted on 2008-10-08
2
480 Views
Last Modified: 2008-10-08
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
Comment
Question by:ciphron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
prairiedog earned 500 total points
ID: 22669684
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
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 22670178
can we have a look at your javascript code and the server side code from where you configure your javascript events
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question