Menu
hi…….?
I am new person in javascript,I want to write a javascript function that will list all the elements in the div. such as if div contains 3textbox and 2 buttons .then function must list all the elements.and i want to set focus on the first div element from list how can i do that.it must be general as i am changing only content of div on different clicks. :confused:
such as
if you click on “album” button then first element in div is “albumname”
which is link <a href> and if you click on “login” button then first element is “textbox”.