Hello Folks,
Suppose there are two text fields in a particular form. Now I want to iterate the focus within these two fields only. More elaborately, after the field one will has lost the focus, the field two will get the focus and after the field two will has lost the focus, the field one will get the focus, that is, no other element in the browser will get the focus. The tab indexes of these two fields are 1 and 2 respectively. How can this scenario be accomplished?

Thanks to all,
u. c.

I think using javascript. I don't have time to look it up but if you search at w3schools, you will find a complete reference of DHTML in order to do what you want

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.