Partilhar via


targetmethod Attribute

  Microsoft Speech Technologies Homepage

Specifies the method of the target element that is called when the bind element is executed. Optional.

HTML <bind targetmethod = "targetMethod">
JScript bind.targetmethod = targetMethod

Remarks

If both targetmethod and targetattribute are specified within a single bind element, targetmethod is ignored.

Methods that may be assigned to the targetmethod attribute are limited to those that do not require arguments or return a value. Examples include the submit method of the HTML form object, the click method of the button and the hyperlink objects, and the Start and Stop methods of a listen element.

Example

The following code demonstrates the use of the targetmethod attribute:

<salt:bind test="//destination_city [confidence > ; 0.4]"
  targetelement="FormOfTravel"
  targetmethod="submit" />;

See Also

bind Element |  targetattribute Attribute | targetelement Attribute | bind Element Example