Home Cooker Classes Others Rice CookerGX
Classes  >  document  >  GetElementsByName(string)
document class : GetElementsByName(string) method

Description

Returns a list of elements with the specified name attribute.

Syntax

documentInstance.GetElementsByName(string nameValue)

Arguments

ClassNameDescription
stringnameValueThe value of name attribute.

Return value

ClassDescription
list{element}A list of elements with the specified name attribute.

Sample code

document d = new document();

list{element} le =d.GetElementsByName("anyName");

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.