Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-08
2
Medium Priority
?
485 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
2 Comments
 
LVL 22

Accepted Solution

by:
prairiedog earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

879 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