i have simple javascript.i want to refocus on a text box control when it is left blank by user..everthing going all right.message is also displayed "this field is required" besides dat textbox control.when focus is lost with blank textbox.i want to cursur back on lost focus in dat blank textbox..give ma a help..
thank you......!!

Member Avatar for stbuchok

onblur is what you are looking for.

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.