Which event to use?/List of events 
Author Message
 Which event to use?/List of events

What is the last event that is fired after a user selects
an item in a select box? I need to be certain that a data
validation sub always executes following the user
selecting an item from a select box. I've played with the
onChange and onAfterUpdate events, however there are
scenarios where the events do not fire (e.g. the user
selects the existing value of the box - existing value
= 'New' and the user selects 'New' from the list.)

Also, to get to the root of the issue...
Does anyone know where I can find a comprehensive list of
events? I've tried msdn.microsoft.com, but haven't had any
luck so far.

David H.



Fri, 16 Jul 2004 14:26:02 GMT  
 Which event to use?/List of events
Try looking at the following link...

http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/reference/objects/select.asp

David H. (Having a conversation with himself)

Quote:
>-----Original Message-----
>What is the last event that is fired after a user selects
>an item in a select box? I need to be certain that a data
>validation sub always executes following the user
>selecting an item from a select box. I've played with the
>onChange and onAfterUpdate events, however there are
>scenarios where the events do not fire (e.g. the user
>selects the existing value of the box - existing value
>= 'New' and the user selects 'New' from the list.)

>Also, to get to the root of the issue...
>Does anyone know where I can find a comprehensive list of
>events? I've tried msdn.microsoft.com, but haven't had
any
>luck so far.

>David H.
>.



Fri, 16 Jul 2004 15:19:18 GMT  
 Which event to use?/List of events
How about adding a blank option tag and have
it selected so that they have to select one of
the real options?.  <option selected>&nbsp.

Bill Wallace


Quote:
> What is the last event that is fired after a user selects
> an item in a select box? I need to be certain that a data
> validation sub always executes following the user
> selecting an item from a select box. I've played with the
> onChange and onAfterUpdate events, however there are
> scenarios where the events do not fire (e.g. the user
> selects the existing value of the box - existing value
> = 'New' and the user selects 'New' from the list.)

> Also, to get to the root of the issue...
> Does anyone know where I can find a comprehensive list of
> events? I've tried msdn.microsoft.com, but haven't had any
> luck so far.

> David H.



Sat, 17 Jul 2004 00:28:03 GMT  
 Which event to use?/List of events
bro,
just use the onchange event.
or use onpropertychange event.
it works great for me...
Quote:
>-----Original Message-----
>How about adding a blank option tag and have
>it selected so that they have to select one of
>the real options?.  <option selected> .

>Bill Wallace



>> What is the last event that is fired after a user
selects
>> an item in a select box? I need to be certain that a
data
>> validation sub always executes following the user
>> selecting an item from a select box. I've played with
the
>> onChange and onAfterUpdate events, however there are
>> scenarios where the events do not fire (e.g. the user
>> selects the existing value of the box - existing value
>> = 'New' and the user selects 'New' from the list.)

>> Also, to get to the root of the issue...
>> Does anyone know where I can find a comprehensive list
of
>> events? I've tried msdn.microsoft.com, but haven't had
any
>> luck so far.

>> David H.

>.



Sat, 17 Jul 2004 06:25:12 GMT  
 Which event to use?/List of events
Referece
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/sel...
 for the event list for select object. The onchange event is suitable of
you want it fires when the option is changed. If you want it fires
regardless of that, consider the click event.

Hope it helps.

Regards,
Robin

This posting is provided AS IS, with no warranties, and confers no rights.



Sat, 17 Jul 2004 21:39:02 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Events, Events, alas, wherefore art thou events...

2. Events, Events, alas, wherefore art thou events...

3. Events, Events, alas, wherefore art thou events...

4. Control Event Problem (Post Event after an event is fired)

5. Using Not in List event with backend database

6. On click event to make a list box visible

7. List Box Doesn't Get Updated After Create/Update/Delete Event

8. fire keyboard events form an onclick page event

9. Objects, Events, This - Customizing the onreadystatechange event

10. Call client events from server side events

11. How to Retrieve Events For One Day From An Event Log on Windows 2000/NT

12. Write events to the event log ?

 

 
Powered by phpBB® Forum Software