PHP File Load Via Jquery into DIV

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

PHP File Load Via Jquery into DIV

This Tutorial will show you how you can load PHP File via Jquery in any of your DIV for making your code neat and clean.
http://crewow.com/PHP-File-Load-Via-Jquery-into-DIV.php
  • Total Hits: 15418

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 199 votes

  • Category: PHP/File Handling

  • Submitted on: 2013-12-20 01:35:59

  • Submitted By: Furqan Aziz

  • Set as Favorite

Description:

This Tutorial will show you how you can load PHP File via Jquery in any of your DIV for making your code neat and clean.
You need to create a PHP Page.
After that You will Downlaod Latest Jquery from Jquery Site and keep it in a folder name JS and include Link in your head section.
Now in your page body Tag you will make a div and set id to showphpfile
For Loading PHP Page in this Div you will write below code in script tag
$(document).ready(function(){
$("#showphpfile").load('URL of your PHP Page');
});
.load function is used for loading page in a div which id is showphpfile.
$(document).ready(function() function will do this when page load.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 35.18%  70
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.05%  20
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 9.55%  19
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 9.05%  18
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 36.18%  72

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements