Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

java script

  Asked By: Trupti    Date: Sep 06    Category: Java    Views: 636
  

I am trying
to validate a text box, such that if a user types in a wrong value,
along with showing an error message, the focus should still be on the
text box. I am able to bring up the error message, but am not able to
keep the text box still in focus. Once the error message shows up,
the focus moves to the next text box. Can someone please help?
Thanks.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Mae Roberts     Answered On: Sep 06

I have one screen which has some buttons like save, approve, delete etc. when I
click approve button, Another screen will be displayed with fields exceedance
date 03/02/2005. etc and table with fields moth, year and approval status. The
data will be displayed in the table as below.

exceedance date: 03/02/2005


Month: Year: Approval status:

January 2005 approved
February 2005 not reviewed
March 2005 not reviewed
April 2005 not reviewed
may 2005 not reviewed


The problem is that the only approved data should be displayed in the above
table
not reviewed data.

I am also sending the code. Could you please tell me what could be the problem?


I hope you guys understand my problem

 
Answer #2    Answered By: Freda Lane     Answered On: Sep 06

I don't see the code, but I think that what is wrong
is the SELECT statement. Do a SELECT without the WHERE
part and pass the where critiria once the button is
click!

 
Didn't find what you were looking for? Find more on java script Or get search suggestion and latest updates.




Tagged: