using input value in same page without refreshing page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manuitpro
    New Member
    • Dec 2009
    • 13

    using input value in same page without refreshing page

    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.
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    I doubt is there any technique present out there other than AJAX. Only AJAX can help you.

    Regards
    Dheeraj Joshi

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      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.

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        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.

        Comment

        Working...