Hi All,
I have a form field that populates a column in my database with a unique value. What I am trying to do is write a function that will be called on the form field's onblur event to initiate a query of the database column for the form field's value, pop-up an alert box if a match is found and clear the form field's value. I have done a bit of research and it seems this is possible with AJAX or Jquery but none of the solutions seem to fit my needs. I am using PHP for my server side script and javascript for the client side.
Can anyone help me figure out how to do this? Any help is always appreciated.
Thanks in advance.
Ken
I have a form field that populates a column in my database with a unique value. What I am trying to do is write a function that will be called on the form field's onblur event to initiate a query of the database column for the form field's value, pop-up an alert box if a match is found and clear the form field's value. I have done a bit of research and it seems this is possible with AJAX or Jquery but none of the solutions seem to fit my needs. I am using PHP for my server side script and javascript for the client side.
Can anyone help me figure out how to do this? Any help is always appreciated.
Thanks in advance.
Ken