Link to Mod Share Mod Share

  Users Browse Upload Forums Log in

Mod Share Forums

Welcome to the Mod Share forums.

You are not logged in.

#1 2012-01-15 13:44:20

jacob
Mod Share Team (now jvvg)
From: Eastern United States
Registered: 2011-12-25
Posts: 375
Website

AJAX comments

You can now leave a comment on a project without reloading the page due to some AJAX code we've implemented!


zwgbewe1gbewzygbewizgbew
Fear me, all powerful forum moderator! tongue

Offline

#2 2012-01-15 17:50:11

GP1
Mod Share-er
From: Seattle, WA
Registered: 2012-01-15
Posts: 35

Re: AJAX comments

Cool! Although, I tried to make a comment and it just said working.... and never made the comment. Are you using jquery to achieve this? I use it becase you only need one line of code to make an Ajax request.


Im back, and Kitcat 1.3 Modcamp has been started again! Want to suggest a mod? Post here!

Offline

#3 2012-01-15 20:01:18

jacob
Mod Share Team (now jvvg)
From: Eastern United States
Registered: 2011-12-25
Posts: 375
Website

Re: AJAX comments

GP1 wrote:

Cool! Although, I tried to make a comment and it just said working.... and never made the comment. Are you using jquery to achieve this? I use it becase you only need one line of code to make an Ajax request.

It appears to work for me. Try it now, it works...and I think you need more than one line of code for AJAX. Anyway, we'll look into it.


zwgbewe1gbewzygbewizgbew
Fear me, all powerful forum moderator! tongue

Offline

#4 2012-01-15 21:08:48

jacob
Mod Share Team (now jvvg)
From: Eastern United States
Registered: 2011-12-25
Posts: 375
Website

Re: AJAX comments

Update: It now also works in replies.


zwgbewe1gbewzygbewizgbew
Fear me, all powerful forum moderator! tongue

Offline

#5 2012-01-15 22:03:58

GP1
Mod Share-er
From: Seattle, WA
Registered: 2012-01-15
Posts: 35

Re: AJAX comments

jacob wrote:
GP1 wrote:

Cool! Although, I tried to make a comment and it just said working.... and never made the comment. Are you using jquery to achieve this? I use it becase you only need one line of code to make an Ajax request.

It appears to work for me. Try it now, it works...and I think you need more than one line of code for AJAX. Anyway, we'll look into it.

Not if your using jquery:

$.get("script.php?data=its%20this&dataTwo=easy");

^^^^^^^ a get ajax request. You can check out jquery at http://jquery.com


Im back, and Kitcat 1.3 Modcamp has been started again! Want to suggest a mod? Post here!

Offline

#6 2012-01-15 22:04:38

jacob
Mod Share Team (now jvvg)
From: Eastern United States
Registered: 2011-12-25
Posts: 375
Website

Re: AJAX comments

GP1 wrote:
jacob wrote:
GP1 wrote:

Cool! Although, I tried to make a comment and it just said working.... and never made the comment. Are you using jquery to achieve this? I use it becase you only need one line of code to make an Ajax request.

It appears to work for me. Try it now, it works...and I think you need more than one line of code for AJAX. Anyway, we'll look into it.

Not if your using jquery:

$.get("script.php?data=its%20this&dataTwo=easy");

^^^^^^^ a get ajax request. You can check out jquery at http://jquery.com

We do not use JQuery. We use standard JS/AJAX code.


zwgbewe1gbewzygbewizgbew
Fear me, all powerful forum moderator! tongue

Offline

#7 2012-01-16 12:44:57

GP1
Mod Share-er
From: Seattle, WA
Registered: 2012-01-15
Posts: 35

Re: AJAX comments

jacob wrote:
GP1 wrote:
jacob wrote:

It appears to work for me. Try it now, it works...and I think you need more than one line of code for AJAX. Anyway, we'll look into it.

Not if your using jquery:

$.get("script.php?data=its%20this&dataTwo=easy");

^^^^^^^ a get ajax request. You can check out jquery at http://jquery.com

We do not use JQuery. We use standard JS/AJAX code.

Well, you can do what you want, just making a suggestion. The only reason I would suggest jquery is because its faster and works the same on all browsers with javascript.


Im back, and Kitcat 1.3 Modcamp has been started again! Want to suggest a mod? Post here!

Offline

#8 2012-01-16 13:01:48

jacob
Mod Share Team (now jvvg)
From: Eastern United States
Registered: 2011-12-25
Posts: 375
Website

Re: AJAX comments

GP1 wrote:
jacob wrote:
GP1 wrote:

Not if your using jquery:

$.get("script.php?data=its%20this&dataTwo=easy");

^^^^^^^ a get ajax request. You can check out jquery at http://jquery.com

We do not use JQuery. We use standard JS/AJAX code.

Well, you can do what you want, just making a suggestion. The only reason I would suggest jquery is because its faster and works the same on all browsers with javascript.

GP1 wrote:
and works the same on all browsers with javascript.

JS also works the same on all browsers with JS...and I think it's a little more compatible.


zwgbewe1gbewzygbewizgbew
Fear me, all powerful forum moderator! tongue

Offline

Board footer

This is part of Mod Share v4.0