Linked Questions

229 questions linked to/from How can I make an AJAX call without jQuery?
33 votes
3 answers
83k views

How can I remove the need to download a full jquery library when all I want to use is AJAX. Is there a smaller file that focuses on AJAX or is there a Vanilla Javascript version of this code? <...
John's user avatar
  • 443
7 votes
2 answers
16k views

What would be the equivalent of this approach without jQuery ? $(function() { $.getJSON("datas.json", function(e) { var t = []; $.each(e, function(e, t) { $("div#" + e)...
user avatar
2 votes
3 answers
11k views

Possible Duplicate: How to make an ajax call without jquery? How do I asynchronously update a webpage using ajax without using jQuery?
user avatar
0 votes
4 answers
4k views

At the moment I am using 3 different pages which are HTML, JavaScript and PHP. I already made the input and I can calculate price * quantity using the JavaScript. But I have this problem: how can I ...
Jimin Ahn's user avatar
2 votes
1 answer
3k views

I am learning about AJAX and am trying to get the contents of my file "info.txt" to be displayed inside a div with id "demo". However it keeps returning blank. Unfortunately, in order to test this you ...
Govind Rai's user avatar
  • 16.1k
-1 votes
3 answers
2k views

<html> <body> <div id="main_login_div"> <form name="form1" id="main_form" method="post" target="_parent" action="checklogin.php"> <input name="myusername" ...
1 vote
1 answer
2k views

Possible Duplicate: How to make an ajax call without jquery? I have code in js(Ajax) but I want to make it without Ajax(XMLHttpRequest) $.ajax({ type:'POST', data:'slug='+...
Sekhmet's user avatar
  • 533
0 votes
1 answer
2k views

Suppose I have a Google url of a pdf file, is there anyway in javascript to get the data of a file and send it via ajax (json) ? This question is not about the AJAX, but getting the data from a file ...
1 vote
2 answers
1k views

I'm very new in javascript, I have a problem, I have a external js file which I need to run some c# server side codes. my external js file is something like: my.login = function(parameter, callback) {...
1 vote
1 answer
1k views

How do I get country code using javascript only, I am not allowed to use jQuery. I have seen some sites like http://ipinfo.io , but all examples uses JQuery getJson, can I implement the same method : ...
0 votes
1 answer
2k views

is there any code that is similar to the code in the bottom but in a regular js and not in jquery? thank you! $(function(){ $.ajax({ url: 'http://localhost:28017/local/andyb', type: 'get', ...
-6 votes
2 answers
2k views

I have an AJAX script in jQuery that I am trying to convert to vanilla Javascript. I Can't seem to convert this. How would I convert this to vanilla JavaScript? $.ajax({ url: 'csv_data.csv', ...
John's user avatar
  • 35
-1 votes
1 answer
863 views

this is the form: <form action="#" method="post"> <input type="submit" name="saveit" id = "submit" value = "Save" /><br /><br /> <input type="reset" name="reset" value = "...
Niv_H's user avatar
  • 61
-2 votes
1 answer
565 views

I have a modal window that pops up when I want to add a new project to my dashboard. I have gotten it to work with post however, I cannot prevent it from refreshing. What I want to do is after the ...
-1 votes
1 answer
147 views

I have made/got a code that will get a location with java script. The idea is that it automatically emails someone with the location from the Javascript. However, how would you get the the location ...
Code Pro's user avatar

15 30 50 per page
1
2 3 4 5
...
16