Widget:Help desk: Difference between revisions

Jump to navigation Jump to search
Rim Halaby (talk | contribs)
Created page with "<includeonly> <script type="text/javascript"> function sendMail() { var api = new mw.Api(); api.post({ action : 'emailuser', target : 'Rim_Halaby', subject : $("input[..."
 
Rim Halaby (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
action : 'emailuser',
action : 'emailuser',
target : 'Rim_Halaby',
target : 'Rim_Halaby',
subject : $("input[name=subject]").val(),
text : $('textarea[name=content]').val(),
text : $('textarea[name=content]').val(),
token : mw.user.tokens.get('editToken'),
token : mw.user.tokens.get('editToken'),
Line 28: Line 27:
<div name="emailform">
<div name="emailform">
<form>
<form>
<label for="subject">How may we help you? Please type the subject of your question.<br /></label><input type="text" id="subject" name="subject" /><br /><br /><br />
<label for="content">Please type your question in detail and we will assist you as soon as we can!</label><textarea name="content" id="content"></textarea>
<label for="content">Please type your question in details in the box below and we will assist you as soon as we can!</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>

Latest revision as of 03:26, 20 August 2013