How to refresh jQuery mobile page?

How to refresh just one php element on a web page?

  • I have created a web page where people can read just head lines n i have made an admin page in where i can read the news... so i just want to know a code that i can use so as to refresh a page automatically when a new headline is posted to the database. NOTE:I dont want to refresh the whole page,,, just the news headline section.

  • Answer:

    This is what AJAX does. To use AJAX, you might want to work with JQUERY. Learning ajaxis important for any webdeveloper these days if you want to stay in the game. Best,Volker

tariq at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

PHP is a server side html constructor it will not run sub routines on a loaded web page. you will need to use ASP or Java to update a single element on the page more then likly you will need to add a java applet to do this.

Mark O

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.