Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6672097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:28:05+00:00 2026-05-26T03:28:05+00:00

Hello guys I newbie question :) – I am currently using PHP/Zend and now

  • 0

Hello guys I newbie question 🙂 – I am currently using PHP/Zend and now I need to display a form and other content in one of my pages. I do not want the page to reload and I cant use a pop-up window so the best option is to sort of dynamic display a “square” in the middle of the current page with this form being load on the go… this way i could have my pages (forms, text, whatever) being pulled in this square.

In order to keep compatibility with older/new and different browsers, what would be the best choice? DOJO – that is already in Zend, JQuery, or just HTML5/CSS3? Besides, if anyone could point me to some references of where can I find this info it would be great!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:28:06+00:00Added an answer on May 26, 2026 at 3:28 am

    AJAX is the most common means (Asynchronous Javascript And Xml) to do this- which uses Javascript to poll other scripts (can be .php pages) which then return predefined output based on the request- this output can be content to inject into a page, or data which can then be interpreted by your page for another action (i.e. the output from another page etc..).

    In this instance, your .php page could include JS (javascript) in the head, whether linked or inline, which would contain details for launching an AJAX request- namely, how often or on what trigger (button press etc), by what means (POST or GET), what is sent (any other variables you wish), what the target script is (the script which will handle the request and output your required content/data), and what to do when the response is recieved (i.e. which element on the page should be updated with the response).

    A little about AJAX:

    http://webdesign.about.com/od/ajax/a/aa101705.htm

    http://webtrends.about.com/od/web20/a/what-is-ajax.htm

    Likely the simplest way to begin is to use a pre-existing Javascript library like the ubiquitous jQuery (jquery.com), there are thousands of tutorials out there for it, and though you will need to do some Javascript programming, the library has meant that you can rely on fairly simple syntax to do so (as simple as $('#myelement').load('mypage.php')):

    http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/

    http://www.devirtuoso.com/2009/07/beginners-guide-to-using-ajax-with-jquery/

    http://www.sitepoint.com/ajax-jquery/

    http://yensdesign.com/2008/12/how-to-load-content-via-ajax-in-jquery/

    In simple terms:

    1. You have your php page with the element (area) that needs updating (page A)
    2. Build another php script which outputs the content you want ‘refreshing’, e.g. the latest news stories, each time it is run (page B)
    3. Link to the jQuery library in your header section (page A)
    4. Write a simple jquery function in the header section of page A, which says every X seconds/minutes (or on demand), run an AJAX request to fetch the content of page B and insert into an element (DIV) within page A

    —updated—

    If you wish to use DOJO as opposed to jQuery, there is also a wealth of resources available:

    http://dojotoolkit.org/documentation/tutorials/1.6/ajax/

    http://www.infernodevelopment.com/dojo-ajax-tutorial

    http://startdojo.com/2010/01/02/simple-ajax-form-tutorial/

    http://today.java.net/pub/a/today/2006/04/27/building-ajax-with-dojo-and-json.html

    http://www.ibm.com/developerworks/web/tutorials/wa-dojotoolkit/index.html

    http://www.roseindia.net/dojo/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello guys. I think it isn't possible just using PHP, but just to be
Hello guys I have a confusing question! If I'm using WCF to create a
Hello guys i have a problem streaming PDF files with php, i'm using this
hello guys i need small help in understanding file system of android Now in
Hello guys sorry if the question looks stupid to you. i have 3 tables
Hello again ladies and gents! OK, following on from my other question on ASP.NET
Hello guys I'm stucked in a point and I need your help. I want
Hello guys i am having big problems in zend framework i dont know how
hello guys im using this second part of pagination script to show pagination; <?
Hello guys im using WCF RIA Services i have domain services where i wrote

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.