•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,454 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,990 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1670 | Replies: 2
![]() |
•
•
Join Date: Oct 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I have a PHP/Javascript page and I need to POST code to the same page in which it is posting from. It posts correctly and PHP picks up the information but the javascript code that deals with certain objects won't run again. I actually have to POST to the same page, do the php stuff, then refresh it to have the javascript work. Why is the javascript not running again after the post?
Thanks
I have a PHP/Javascript page and I need to POST code to the same page in which it is posting from. It posts correctly and PHP picks up the information but the javascript code that deals with certain objects won't run again. I actually have to POST to the same page, do the php stuff, then refresh it to have the javascript work. Why is the javascript not running again after the post?
Thanks
Don't understand the scenario. If you:
1) serve somepage.php with a form on it
2) the form's action tag is set to "somepage.php"
3) user fills the form, submits it
4) somepage.php runs on the server, processes the form and then
5) generates the same html/css/scripts/form as in step 1, then:
Everything should be fine!
1) serve somepage.php with a form on it
2) the form's action tag is set to "somepage.php"
3) user fills the form, submits it
4) somepage.php runs on the server, processes the form and then
5) generates the same html/css/scripts/form as in step 1, then:
Everything should be fine!
Last edited by tgreer : Oct 27th, 2006 at 1:41 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- .net validation/javascript conflict (ASP.NET)
- Having trouble running javascript (JavaScript / DHTML / AJAX)
- Error message when posting Web page into Word (Windows Software)
- Page Cannot Be Displayed & javascript:doNetDetect() Errors (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Text Collapse
- Next Thread: opera problems with hover menu



Linear Mode