onFilterChange (Event handler)

A filter has changed the state of an element or a transition has just been completed.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyObject.onfilterchange = aHandler
HTML syntax:<HTMLTag onFilterChange="...">
Argument list:aHandlerA reference to a function object to handle the event
Supported by objects:ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, Checkbox, CITE, CODE, DD, DEL, DFN, DIR, DL, DT, EM, FIELDSET, FileUpload, FONT, FORM, H1, HR, I, IMG, Input, INS, KBD, LABEL, LI, LISTING, MENU, OBJECT, OL, P, PLAINTEXT, PRE, Q, RadioButton, ResetButton, S, SAMP, Select, SMALL, SPAN, STRIKE, STRONG, SUB, SubmitButton, SUP, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR

Changing a filter will trigger this event. It is also triggered when a transition has just been completed. Filters are a MSIE-specific means of providing more attractive on-screen effects when things change.

Calling a function that changes a filter and executes a transition results in a further trigger for this event handler. Thus, you can set up an animation loop with this handler, but be careful to avoid stacking recursions or the browser will crash.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Filter object, Handler, Semantic event, style.filter