php/jquery architecture question

Posted on 2011-10-30
Last Modified: 2012-05-12
I have a couple of dropdown selects on the main screen, where users can define their search criteria and submit the search to the database. The result is a multipage table of data which I am showing under my selections. Now, is it possible to submit this form asynchronously and refresh only the table area when the result comes back ? Any examples ? Snippets ?
Question by:Rozamunda
    LVL 107

    Assisted Solution

    by:Ray Paseur
    Yes, it's certainly possible!  I believe there is a jQuery Zone here at EE.  Click the Request Attention button and ask a Moderator to add your question to that Zone.
    LVL 18

    Accepted Solution

    Yes you can do all that. What you need to do is use the Ajax function and then in te success (the hook that gets called when the result is received) you will then take those results and then use the html function to pipe the new table into the element on the page.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Make code non clickable 6 27
    Summernote required 3 19
    coldfusion, jQuery help 25 39
    Help with a small Javascript 6 25
    Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    The viewer will learn how to count occurrences of each item in an array.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now