this is the code:
var res = VerFileRepetidoBancoAjax( "teste" );
console.log("res="+res);
function VerFileRepetidoBancoAjax( str ){
$.ajax({
url: "caminho.",
type: "get",
dataType:"json",
data: "dado="+ str,
async:...
I run small systems using xhtml, ajax, and php. When I code I'm testing the parts in the Chrome developer tool (Ctr + I) and phptester.net. When I finish my application, I have to debug everything again so that I can properly run Firefox and...
I have a project that validates, in JavaScript, the structure of a JSON. Here is more or less the structure I had used to do the asynchronous redemption of the structure, as well as what would be the static redemption for a default structure of...
I wrote a system on Web2py to a client, and he wanted me to automate a procedure. I thought about using Ajax. The idea is as follows:
I have a list of companies. Let's say, 50. I want the screen to open with the list of companies and, on top...
Always when I search for "periodic updates" and "real-time notifications" for web applications, I come across the term long polling .
For the little that I understand, it seems to refer to periodic updates made with AJAX, for example with a%...
I want to get the percentage value of an ajax request from an external server. How to do?
$("#uptade_space_disk").click(function(){
var url = "/calcular-espaco-em-disco"
jQuery.ajax({
url: url,
dataType: 'script',...
I have the following table that lets you edit cells directly:
The codes are in 4 parts:
MySQL table
CREATE TABLE IF NOT EXISTS 'php_interview_questions' (
'id' int(8) NOT NULL,
'question' text NOT NULL,
'answer' text NOT NULL,...
I need to insert the HTML that refers to a hyperlinked image received through an ajax function on the page, however for security reasons I can not simply insert directly, so I'm passing this HTML code through .text () for a created div, and only...
Being here doing my sites in php/mysql/html/css and learning more and more about jQuery I got into the situation where I should use the same code for two ids distinct.
How do I need to use the same code in two different p...