function GetElementByText(tagName, title)
{
var a = document.getElementsByTagName(tagName);
for (var i=0; i < a.length; i++)
{
if (a[i].value)
{
if (a[i].value == title )
{
return a[i];
}
}
}
return null;
}
Monday, April 27, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment