| View previous topic :: View next topic |
| Author |
Message |
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 563 Location: Cebu City Philippines
|
Posted: Wed Jun 11, 2008 4:51 am Post subject: Re: Help me.....onblur () |
|
|
| ...and what has the code above is doing? |
|
| Back to top |
|
 |
|
|
hazrizal84
Joined: 10 Jun 2008 Posts: 15
|
Posted: Wed Jun 11, 2008 7:35 am Post subject: Re: Help me.....onblur () |
|
|
| i've added this.select(); after the alert statement..but it doesn't work with mozilla firefox browser..can u help me?.. |
|
| Back to top |
|
 |
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 563 Location: Cebu City Philippines
|
Posted: Wed Jun 11, 2008 7:48 am Post subject: Re: Help me.....onblur () |
|
|
| What are you trying to achieve? Does'nt the code i've given you previously highlights the erroneous textbox? What's wrong with it. (I'm confused). |
|
| Back to top |
|
 |
hazrizal84
Joined: 10 Jun 2008 Posts: 15
|
Posted: Wed Jun 11, 2008 11:33 am Post subject: Re: Help me.....onblur () |
|
|
| the code you've given is actually highlight the textbox, not the answer entered. by adding this.select() after the alert statement, it works, it does highlight the answer and remain at the erroneous textbox, but it just works with I.E not mozilla firefox.. have you try with it?.. so, i want the code, so that it will work with both IE and mozilla firefox. |
|
| Back to top |
|
 |
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 563 Location: Cebu City Philippines
|
Posted: Thu Jun 12, 2008 1:04 am Post subject: Re: Help me.....onblur () |
|
|
Try focus() function.
Btw, the best I could do is highlight the textbox. |
|
| Back to top |
|
 |
|