in my add form
when open the form first move control to the first text box in my form
for that iam using the following one.

<body OnLoad="document.forms[0].elements[0].focus();">

but if in my form first is listbox how to move control to the list box

ok guys sorry for the interruption
i got solution

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.