Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  FireEvent(string)
element class : FireEvent(string) method

Description

Fires a specified event on the element.

Syntax

elementInstance.FireEvent(string eventName)

Arguments

ClassNameDescription
stringeventNameA event name.

Return value

None

Sample code

//anyElement is any instance of element type.

anyElement.FireEvent("onclick");

Notes

It's a wrapper of the MSHTML.IHTMLElement3.FireEvent(String).

Links for reference

Copyright © Rice All rights reserved.