Linked Questions
229 questions linked to/from How can I make an AJAX call without jQuery?
33
votes
3
answers
83k
views
Vanilla Javascript version of AJAX [duplicate]
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?
<...
7
votes
2
answers
16k
views
Equivalent of getJSON function without jQuery [duplicate]
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
user4492612
2
votes
3
answers
11k
views
Ajax Without JQuery? [duplicate]
Possible Duplicate:
How to make an ajax call without jquery?
How do I asynchronously update a webpage using ajax without using jQuery?
user avatar
user1634617
0
votes
4
answers
4k
views
Calculate the value using JavaScript and send to PHP [duplicate]
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 ...
2
votes
1
answer
3k
views
How to print the response using AJAX/Javascript? [duplicate]
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 ...
-1
votes
3
answers
2k
views
How to get a value to one php page to another without reload with Ajax and JavaScript [duplicate]
<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
Ajax without jQuery [duplicate]
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='+...
0
votes
1
answer
2k
views
How to get file data from url in javascript [duplicate]
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
call c# logic from external javascript file [duplicate]
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
Perform $.getJSON without using JQuery [duplicate]
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
AJAX and pure Javascript [duplicate]
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
How do I convert jQuery AJAX code to vanilla JavaScript? [duplicate]
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',
...
-1
votes
1
answer
863
views
How can i run mysql query without refresh the page [duplicate]
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 = "...
-2
votes
1
answer
565
views
How to store values without reloading? [duplicate]
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
Send email automatically (php) and add text from JavaScript [duplicate]
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 ...