The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Quick Reply without Reload Page

View previous topic View next topic Go down

Quick Reply without Reload Page

Post by J0k3R^ on Mon 2 Jun - 5:20

Hi,
i need a javascript which makes the quick reply on same page after "Submit" and no need to reload the page to post the quick reply.
How to do that? Thank you:rose:

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Re: Quick Reply without Reload Page

Post by Paulostge on Tue 3 Jun - 4:27

Code:
$(function(){
$("form#quick_reply input[name='post']").click(function(){
$('<iframe name="replyreload" height="0px" width="0px" frameborder="0"></iframe>').insertBefore('form#quick_reply');
$('form#quick_reply').attr('target','replyreload');
$('form#quick_reply').submit(function(){var t=setTimeout("fmreply()",400);});});});
function fmreply(){window.location.reload()}

Paulostge
Forumember

Male Posts : 81
Reputation : 17
Language : Greek
Location : Greece

http://www.thegreeksenergy.com

Back to top Go down

Re: Quick Reply without Reload Page

Post by J0k3R^ on Sun 8 Jun - 2:24

well, the script for quick reply is looking good but i realised that its not necessary. u can lock this topic or something..

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Re: Quick Reply without Reload Page

Post by SLGray on Sun 8 Jun - 10:25

Locked as Requested


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35670
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum