function validate_required(field,alerttxt)
{
with (field)
  {
  if (value==null||value=="")
    {
   next to name text= error;return false;
    }
  else
    {
    return true;
    }
  }
}

On 27 iul., 12:23, aryan <sagar.k...@gmail.com> wrote:
> How can i show inline error message.
> For Example:-  If any one leave name field blank and move to next
> field in html form then java script must show error next to name text
> field.
> I am using script dialog box but want to use inline error.
>
> CAN ANY ONE TELL HOW SHOULD I DO THIS.
> Please. Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to