Tag: r

67 votes
30 answers
891 views
How to concatenate text from multiple rows into a single text string in SQL Server

Consider a database table holding names, with three rows: Peter Paul Mary Is there an easy way to turn this i

avatar
Xavier
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
1.3K views
How do I import an SQL file using the command line in MySQL?

I have a .sql file with an export from phpMyAdmin. I want to import it into a different server using the comma

avatar
Sydney
0 1 0 9
asked 07 September, 2021
63 votes
30 answers
409 views
Add a column with a default value to an existing table in SQL Server

How can I add a column with a default value to an existing table in SQL Server 2000 / SQL Server 2005?

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
1.7K views
How do I UPDATE from a SELECT in SQL Server?

In SQL Server, it is possible to insert rows into a table with an INSERT.. SELECT statement: INSERT INTO Table

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
60 votes
27 answers
2.9K views
What is the difference between "INNER JOIN" and "OUTER JOIN"?

Also how do LEFT JOIN, RIGHT JOIN and FULL JOIN fit in?

avatar
Louetta
0 1 0 9
asked 07 September, 2021
60 votes
3 answers
2.4K views
jQuery.ajax handling continue responses: "success:" vs ".done"?

I have been working with jQuery and AJAX for a few weeks now and I saw two different ways to 'continue&ap

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
61 votes
17 answers
2.4K views
Jquery - How to make $.post() use contentType=application/json?

I've noticed that when using $.post() in jquery that the default contentType is application/x-www-form-ur

avatar
Chaya
0 1 0 9
asked 07 September, 2021
66 votes
23 answers
2.9K views
jQuery $.ajax(), $.post sending "OPTIONS" as REQUEST_METHOD in Firefox

Having trouble with what I thought was a relatively simple jQuery plugin... The plugin should fetch data from

avatar
Deedee
0 1 0 9
asked 07 September, 2021
54 votes
9 answers
795 views
How can I add a custom HTTP header to ajax request with js or jQuery?

Does anyone know how to add or create a custom HTTP header using JavaScript or jQuery?

avatar
Rudy
0 1 0 9
asked 07 September, 2021
62 votes
18 answers
1.2K views
Origin is not allowed by Access-Control-Allow-Origin

I'm making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).

avatar
Patsy
0 1 0 9
asked 07 September, 2021
53 votes
7 answers
2.5K views
How to use Servlets and Ajax?

I'm very new to web apps and Servlets and I have the following question: Whenever I print something insi

avatar
Frederick
0 1 0 9
asked 07 September, 2021
54 votes
11 answers
2.4K views
Why is jQuery's .ajax() method not sending my session cookie?

After logging in via $.ajax() to a site, I am trying to send a second $.ajax() request to that site - but when

avatar
Don
0 1 0 9
asked 07 September, 2021
63 votes
8 answers
2.3K views
How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?

In Firefox 3, the answer is 6 per domain: as soon as a 7th XmlHttpRequest (on any tab) to the same domain is f

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
60 votes
10 answers
2K views
CORS: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true

I have a setup involving Frontend server (Node.js, domain: localhost:3000) <---> Backend (Django, Ajax,

avatar
Brianne
0 1 0 9
asked 07 September, 2021
57 votes
9 answers
1.1K views
Getting "net::ERR_BLOCKED_BY_CLIENT" error on some AJAX calls

Recently I've realised that, some adblocker extensions (such as adBlocker plus) block some Ajax calls. I

avatar
Wei
0 1 0 9
asked 07 September, 2021
47 votes
8 answers
1.4K views
Access Control Request Headers, is added to header in AJAX request with jQuery

I would like to add a custom header to an AJAX POST request from jQuery. I have tried this: $.ajax({ ty

avatar
Sena
0 1 0 9
asked 07 September, 2021
50 votes
9 answers
1.1K views
What is the motivation behind the introduction of preflight CORS requests?

Cross-origin resource sharing is a mechanism that allows a web page to make XMLHttpRequests to another domain

avatar
Yolando
0 1 0 9
asked 07 September, 2021
59 votes
10 answers
2.5K views
Uploading both data and files in one form using Ajax?

I'm using jQuery and Ajax for my forms to submit data and files but I'm not sure how to send both da

avatar
Basil
0 1 0 9
asked 07 September, 2021
61 votes
20 answers
1.7K views
Handle file download from ajax post

I have a javascript app that sends ajax POST requests to a certain URL. Response might be a JSON string or it

avatar
Lynette
0 1 0 9
asked 07 September, 2021
51 votes
11 answers
2.1K views
Use basic authentication with jQuery and Ajax

I am trying to create a basic authentication through the browser, but I can't really get there. If this

avatar
Boyd
0 1 0 9
asked 07 September, 2021