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: Update of ajax/a.js
Date: 2 months ago
Size: 560 bytes
 

Contents

Class file image Download
/* * Author: Pierre-Henry Soria <ph7software@gmail.com> * Copyright: (c) 2013, Pierre-Henry Soria. All Rights Reserved. * Link: http://github.com/pH-7/Lorem-Ipsum-Generator * License: GNU General Public License <http://www.gnu.org/licenses/gpl.html> */ $('#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)}); });