Catch PHP Output Buffering Data Over jQuery AJAX

From last few day’s I was deeply engaged with Output Buffering. I had to catch PHP output buffering responsive over AJAX request. And now I am here to sharing a sample script to catch PHP output buffering data over jQuery AJAX.

Live Demo


How to use fadeIn fadeOut effect in jQuery

jQuery is a Java Script libraries which is very lightweight and “write less, do more” .  It”s is full of built in effect, I am gonna show you very common effect “fadeIn” and “fadeOut” in jQuery.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Untitled Document</title>
    <script type="text/javascript" src="jquery.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
               $("#hideme").click(function () {

               $("#showme").click(function () {
<button id="hideme">Hide Me</button>
<button id="showme">Show Me</button>
<h2 id="h2" style="padding:10px 30px;  background:#EEE; color:#c00; border:1px solid #DDD;">Hide Me</h2>

Hope you guys enjoyed it.