PHP Classes

File: ajax/a.js

Recommend this page to a friend!
  Classes of Pierre-Henry Soria  >  PHP Lorem-Ipsum Generator Class  >  ajax/a.js  >  Download  
File: ajax/a.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Lorem-Ipsum Generator Class
Generate fake text to test page presentation
Author: By
Last change: Initial commit
Date: 2 months ago
Size: 560 bytes


Class file image Download
 * Author:           Pierre-Henry Soria <>
 * Copyright:        (c) 2013, Pierre-Henry Soria. All Rights Reserved.
 * Link:   
 * License:          GNU General Public License <>

$('#submit').click( function() {
    var sFormName = 'form[name=loremipsum] ';
    var oData = {count : $(sFormName + '#number').val(), format : $(sFormName + '#format').val()};
    $.post('ajax/b.php', oData, function(sOutput) {$('#output').text(sOutput)});
For more information send a message to info at phpclasses dot org.