Forum Discussion

josette_merhy12's avatar
josette_merhy12
Occasional Contributor
12 years ago

NativeWebObject.Find used in IE9 returning a non existing object

Hello,



i have the following html in a page:



<input name="inputname" data-u-id="input.name.test" />



to find this object, I am searching by using the folloing JScript code:



page= Sys.Browser().Page("*");

Mylink = page.NativeWebObject.Find("data-u-id" , "input.name.test", "input");




but Mylink is an empty object.



when i use:



page= Sys.Browser().Page("*");

Mylink = page.NativeWebObject.Find("name" , "inputname", "input");




Mylink is the mentioned object.



how can i use this function to search by data-u-id parameter using IE

No RepliesBe the first to reply