[nycphp-talk] small problem in ajax
Chuck Reeves
chuck.reeves at gmail.com
Wed Aug 19 09:28:15 EDT 2009
I would say submit the entire form and have the text box take precedence
over the drop down.
Thank You
Chuck Reeves
Email: chuck.reeves at gmail.com
On Wed, Aug 19, 2009 at 1:00 AM, Mangesh Sathe <mangesh at ascellent.co.in>wrote:
> hello everyone,
>
> This is Mangesh Sathe.
>
> I am facin' small problem in ajax.
>
> I have created one form which contains entries like his/her
> name,address,country, state ,bank name(dropdown list) , birth date
> etc...
> when i submit this form all the above data goes to databse correctly ...
>
> now if his/her bank name is not in the dropdown list , then he enters his
> bank name in textbox & clicks on first button
> so insted of submitting entire forn ,i want to insert only bank name in
> database using ajax.
> ( i am sending bank name to .js file & then call .php file
>
> Buttons in the form,
> first one is for adding bank name in database,if it does'nt exist in
> Dropdown list
> (Drop downlist---Textbox----Button1)
> second one is to submit entire form.
>
> Reply plz
> --
> Thanks & Regards,
> Mangesh Sathe
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090819/f0f09e66/attachment.html>
More information about the talk
mailing list