Widget:Mailer: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
api.post({ | api.post({ | ||
action : 'emailuser', | action : 'emailuser', | ||
target : ' | target : 'Rim_Halaby', | ||
subject : $("input[name=subject]").val(), | subject : $("input[name=subject]").val(), | ||
text : $('textarea[name=content]').val(), | text : $('textarea[name=content]').val(), | ||
Line 28: | Line 28: | ||
<div name="emailform"> | <div name="emailform"> | ||
<form> | <form> | ||
<label for="subject"> | <label for="subject">Type the subject of your suggestion:<br /></label><input type="text" id="subject" name="subject" /><br /><br /><br /> | ||
<label for="content"> | <label for="content">Please type your suggestion in details in the box below:</label><textarea name="content" id="content"></textarea> | ||
<input type="button" value="Send" onclick="sendMail()" /> | <input type="button" value="Send" onclick="sendMail()" /> | ||
</form> | </form> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |