Hi Nilesh,
Yep, i agree with what you have explained.
But for your comment "so need not worry even if one webedit is there it will be of index 0,"
No need of worry if one webedit is there , as it start from index 0. That is obvious.
But If there are more than one webedits(No other Object Types) then corresponding "Index" would be required for Returning the Objects & perform operations on them.
@Caze :Its good that you identified where it went wrong & solved it on your own.
Yep, i agree with what you have explained.
But for your comment "so need not worry even if one webedit is there it will be of index 0,"
No need of worry if one webedit is there , as it start from index 0. That is obvious.
But If there are more than one webedits(No other Object Types) then corresponding "Index" would be required for Returning the Objects & perform operations on them.
@Caze :Its good that you identified where it went wrong & solved it on your own.