|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Javascript or php form
G'day guys
I have a form with a few fields. on submit the form goes to a remote URL to submit the form (as the client needs). <form action="http://www.remotewebsite.com" method="post" name="form" onsubmit="return check();"> in my javascript check function I need the form to do the action but NOT refresh the page, to stay still so they are looking at the form still. It's so they can submit the form as many times as they need. I originally was going to do this with AJAX but once I get the $_POST data in PHP... I can't send the data to that web address becuase that web address gets the data directly from the form.
__________________
- Richie |
|
#2
|
|||
|
|||
|
Well AJAX is the only answer I think... I don't understand this part:
Quote:
Check this out: http://blog.themeforest.net/tutoria...ginners-day-13/ From: http://blog.themeforest.net/screenc...s-video-series/
__________________
Sir, a desire of knowledge is the natural feeling of mankind; and every human being, whose mind is not debauched, will be willing to give all that he has to get knowledge. |
|
#3
|
|||
|
|||
|
Alrighty... I'v done this in ajax.. Hope thats good enough -.-
Cheers though mate |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Javascript or php form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|