[nycphp-talk] small problem in ajax
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.
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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk