Submit form onBlur event

Hello all. How can i send dHTMLX form when onBlur event fired?

What am i trying to do is, when user input his/her mail address and skip to another input area i want to execute a php script to check entered mail address.

Hi

to check email, you’d better atatch onChange event

myForm.attachEvent("onChange", function(name, value){ if (name == "email_or_so") { // you can check to valid email addr before sending server request window.dhx4.ajax.get("check_email.php?email="+encodeURIComponent(value), funcion(r){ // callback, show popup with warning here or colorize input-box in a form myForm.setItemFocus("next_item_id"); // if you want to jump to other field }); } });

Thank you andrei