Advertisement

07.23.2008 at 01:55PM PDT, ID: 23590171 | Points: 500
[x]
Attachment Details

Java Script

Asked by tracy_p in JavaScript, Active Server Pages (ASP)

Hi
i am getting one peculiar problem.i have two textboxes and one listbox.if the user doesn't enter any thing in the
text box and click on enter key from key board.then its showing error messages correctly.
i have another page in that one textbox and one listbox.if the user doesn't enter any thing in the
text box and click on enter key from key board.then its not showing error messages.

i am using same code for both pages.

plz tell me why its not working.

i am using javascript,ASP.

This is my javascript function
function enterkey()
{      
                 if(event.keyCode==13)
{
      checkfields();
      }
}
Thank youStart Free Trial
[+][-]07.23.2008 at 02:00PM PDT, ID: 22073805

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 02:13PM PDT, ID: 22073927

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 02:29PM PDT, ID: 22074094

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628