Last change
on this file since 128 was
76,
checked in by sebas, 16 years ago
|
plugin de abonomailman para enviar boletin electronico
basado sobre los cambios de sebas para arreglar los envios.
|
-
Property svn:executable set to
*
|
File size:
523 bytes
|
Rev | Line | |
---|
[76] | 1 | // JavaScript Document |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | $(document).ready(function(){ |
---|
| 7 | $("#ajax-loader").hide(); |
---|
| 8 | $("#ajax-loader").ajaxStart(function(){ |
---|
| 9 | $(this).show(); |
---|
| 10 | }); |
---|
| 11 | |
---|
| 12 | $("#ajax-loader").ajaxStop(function(){ |
---|
| 13 | $(this).hide(); |
---|
| 14 | }); |
---|
| 15 | |
---|
| 16 | $("#template").submit(function(){ |
---|
| 17 | var data = $('input,textarea,radio,select, checkbox', this).serialize(); |
---|
| 18 | $.ajax({ type: "POST", |
---|
| 19 | url: "/ecrire/?exec=abomailmans_affiche_template", |
---|
| 20 | data: data, |
---|
| 21 | success: function(msg){ $("#apercu").html(msg); } |
---|
| 22 | }); |
---|
| 23 | return false; |
---|
| 24 | }); |
---|
| 25 | }); |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.