How to automatically setfocus on text input in a and go back to same page after data has been entered..
Just like after you enter a data in input box, the form will refresh and the focus will go in the textbox again..

thanks in advance..

You can achieve this using javascript.
suppose your for name is frm and 'input' name is txtbox.
you can set using
document.frm.txtbox.focus();

okay.. i got it.. thanks a lot..

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.