 | Senior Member with 101 posts. | | Join Date: Jul 2008 Location: 18°00'33.64" N 76°46'50.73" W Experience: Advanced | | PHP/AJAX: Contact Form: No Reload: Help Hi.
I created a contact form and try to use (the first time in my life) Ajax to make only that part of the page reloading.
However, the problem is that the reload halts and much of that page is not being reloaded. i need help, someone who can look through my page and make the necessary corrections (with explanations, why - so I can learn from that).
Please get the form here: http://MoonRunningsJamaica.Jamaica-F...ontactForm.rar
__________________ Thanks a lot for your time, intention, effort and for your ideas.
Greetings,
Sven | | Senior Member with 101 posts. | | Join Date: Jul 2008 Location: 18°00'33.64" N 76°46'50.73" W Experience: Advanced | | | | | Senior Member with 182 posts. | | Join Date: May 2008 Location: Toronto, Ontario Experience: Advanced | | what do you mean by reload halts.....thats what ajax is for...for not having to reload pages because then u loose data.....
are you trying to submit the contact form using ajax? | | Senior Member with 101 posts. | | Join Date: Jul 2008 Location: 18°00'33.64" N 76°46'50.73" W Experience: Advanced | | Hi, thanks for your reply.
No, the situation is, that only one specific part of the entire page is supposed to change after successful sending. The form sends, so far I am happy. But then it is supposed to send a message of success to the sending visitor, and that does not happen. Instead of displaying that the sending was successful, half of the entire page is not showing anymore.
Here I need help.
You can find the form at http://MoonRunningsJamaica.Jamaica-Focus.com, click there on CONTACT, and test the form.
I can give you all source code, if you want tit and can help me. I would appreciate it very much to get that form functioning completely.
__________________ Thanks a lot for your time, intention, effort and for your ideas.
Greetings,
Sven | | Senior Member with 182 posts. | | Join Date: May 2008 Location: Toronto, Ontario Experience: Advanced | | alright...i am testing your form so ignore any queries that i sent out | | Senior Member with 182 posts. | | Join Date: May 2008 Location: Toronto, Ontario Experience: Advanced | | why is it reloading the form in the form place???? ajax does not need to reload | | Senior Member with 182 posts. | | Join Date: May 2008 Location: Toronto, Ontario Experience: Advanced | | k give me the source code..... | | Senior Member with 101 posts. | | Join Date: Jul 2008 Location: 18°00'33.64" N 76°46'50.73" W Experience: Advanced | | <Hi.
All that should be changed is that part of the page which contains the fields. That part should be replaced with the success message.
I will send you the RAR archive containing the necessary files. And: thanks a lot for your help! | | Member with 38 posts. | | Join Date: Apr 2007 Experience: Intermediate | | why should a user be able to drag the sections in your contact us page.
IMHO you've overdone the javascript and i didn't find any ajax code in that contact form | | Senior Member with 182 posts. | | Join Date: May 2008 Location: Toronto, Ontario Experience: Advanced |
08-Jul-2009, 10:39 AM
#10 | haha....wondering the same thing | | Senior Member with 101 posts. | | Join Date: Jul 2008 Location: 18°00'33.64" N 76°46'50.73" W Experience: Advanced |
08-Jul-2009, 03:32 PM
#11 | We were been able to fix the problem partially: the contact form refreshes now entirely. So it shows completely, as it is supposed to, after sending. But still, why does the entire form refresh? I thought, AJAX would make only a part being refreshed...
Too much JavaScript: yes, true. Quite a lot. Simply remove the JS-links from the script, then you will see what is really needed at minimum.
__________________ Thanks a lot for your time, intention, effort and for your ideas.
Greetings,
Sven |  THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
| | |
Smart Search
| Find your solution! | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |  WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
| You Are Using: |
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:32 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. | |
|