By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,569 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,569 IT Pros & Developers. It's quick & easy.

using input value in same page without refreshing page

P: 13
Hi All,

I have page with many tabs, in one of the tab i have a form (only a input box) and i want to show some output on the same tab view based on the user input. (bvy using php function)

I dont want to refresh the page becuase other tabs already has some outputs that i dont want to touch.

I know ajax is a solution for this, but i have gone through many ajax examples, it passes values to another page (.php). I dont want to do this becuase my page has resource value, it cannot pass to other pages as per php documentation. I want to use the value in the input box in the same tab/page after clicking the submit button without refreshing the page and without passing value to (POST and GET) in another page.

I have been trying for 3 weeks and couldnt succeed yet. Can please some one help me on this.
Dec 30 '09 #1
Share this Question
Share on Google+
3 Replies


Dheeraj Joshi
Expert 100+
P: 1,123
I doubt is there any technique present out there other than AJAX. Only AJAX can help you.

Regards
Dheeraj Joshi
Dec 30 '09 #2

Dormilich
Expert Mod 5K+
P: 8,639
I dont want to do this becuase my page has resource value, it cannot pass to other pages as per php documentation.
I canít see, why this excludes AJAX.
Dec 30 '09 #3

Markus
Expert 5K+
P: 6,050
What does a resource have to do with this? Simply fire off an AJAX request to a page that will process the user input and then return whatever value to the AJAX request. After that, let Javascript fill the tab with whatever was returned by the AJAX request.
Dec 30 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.