Both sides previous revisionPrevious revisionNext revision | Previous revision |
info [2015/04/18 08:15] – [Contact] hess | info [2015/04/18 08:32] (current) – [Contact] hess |
---|
function tasks(task) { | function tasks(task) { |
$(".result").html("Processing, please wait..."); | $(".result").html("Processing, please wait..."); |
var message = $("#message").val() + "\n Articles: \n" + $("#article-list").text() + "\n Address: \n" + $("#address").val(); | var message = $("#message").val() + "\n Articles: \n" + $("#article-list").text() + "\n E-mail: \n" + $("#replyTo").val() + "\n Address: \n" + $("#address").val(); |
var subject = $("#subject option:selected").text() | var subject = $("#subject option:selected").text() |
var recipient = 'sales@netmodule.com'; | var recipient = 'sales@netmodule.com'; |
recipient = 'orders@netmodule.com'; | recipient = 'orders@netmodule.com'; |
} | } |
alert(replyTo, subject, message); | |
/* | |
$.get("/lib/tpl/netmodule/tasks.php", { task: task, subject: subject, message: message, recipient: recipient, replyTo: replyTo }, function( data ) { | $.get("/lib/tpl/netmodule/tasks.php", { task: task, subject: subject, message: message, recipient: recipient, replyTo: replyTo }, function( data ) { |
$( ".result" ).html("The message has been sent. We will get back to you as soon as possible."); | $( ".result" ).html("The message has been sent. We will get back to you as soon as possible."); |
}); | }); |
*/ | |
} | } |
function update() { | function update() { |
<tr> | <tr> |
<td>Articles:</td> | <td>Articles:</td> |
<td><p id='article-list'>Select articles below <br/>(amount for quotations/orders, ? for questions)</p></td> | <td><p id='article-list'>Select articles below</p></td> |
</tr> | </tr> |
<tr> | <tr> |