PHP Classes

File: ajax/a.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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:
Date: 2 years 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)});