Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • It's not AJAX I want to avoid, it's JQuery ;) Appreciate your effort as it's taught me a lot in itself! Commented Aug 24, 2021 at 12:03
  • It's a simple AJAZ in my answer forget about JQuery there is nothing much, and believe me this is more simpler than XMLHttpRequest @4bZürd Commented Aug 25, 2021 at 9:31
  • You write that it's not possible to avoid pagerload without using jquery. But isn't JQuery jsut a framework that use inherent JS in a simpler way? And if so, shouldn't it be possible to rewrite the JQuery code to standard JS? Like I said in my original post: I'm a noob at this part of web development, so I need to ask stupid questions ;) Commented Aug 25, 2021 at 9:49
  • Edited the answer and added the JavaScript code for Ajax request as your need, but still I suggest you to learn at least Ajax in JQuery it's simple @4bZürd Commented Aug 25, 2021 at 12:02
  • Thank you again! I have definiteley been thinking about learning JQuery, I just haven't gotten around to it, and I don't feel comfortable using code I don't understand. But I take your encouragement to heart, and will start looking into JQuery as soon as I have time and opportunity. Commented Sep 6, 2021 at 8:17