JMGetAppletTag
Returns the tag associated with an applet.
OSStatus JMGetAppletTag ( JMAppletLocatorRef locatorRef, UInt32 appletIndex, Handle* hBuffer);
locatorRef- The applet locator that contains the retrieved HTML text.
appletIndex- The index number of the applet you want to query.
hBuffer- A pointer to the applet tag. On return, this parameter contains the applet tag.
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
TheJMGetAppletTagfunction returns the text bounded by the<APPLET>and</APPLET>delimeters in an HTML document. TheappletIndexvalue is an index number from 0 toappletCount-1, whereappletCountis determined by theJMCountAppletsfunction. You can call this function only after successfully retrieving HTML text using theJMNewAppletLocatorfunction.SEE ALSO
TheJMCountAppletsfunction (page 38).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help