Questions tagged as 'ajax'

2
answers

Pass form values to Ajax

How do I pass form values to PHP with Ajax? JS (without passing values) $(function() { if ($('#javascript-ajax-button').length !== 0) { $('#javascript-ajax-button').on('click', function(){ $.ajax(url + "/login/ajaxLogin") // ISS...
asked by 18.07.2015 / 23:09
1
answer

Send message and update div without reloading the page

Well folks, I'm developing a southbox and am here with a problem .. I when I type something in shoutbox and give enter or click on enviar it refresh on page .. I leave here what I already have .. INDEX.PHP /* PARTE DE CIMA D...
asked by 30.06.2015 / 22:26
3
answers

Change the content of the div without refreshing the page [duplicate]

I'm a newbie, take it easy with the answers. hahahaha I have a div in the middle of the page and want to change the description of it by clicking a button. I wanted to create about 5 pages inside the div, so to speak. I created two buttons,...
asked by 14.08.2015 / 22:04
2
answers

How to validate mail with Jquery and Ajax [duplicate]

I have form where I log in to access a restricted area of my website, but now I need to validate the typed e-mail, / em> that I currently have and could not perform validation. What I have is this: <!-- language: lang-js -->...
asked by 30.11.2015 / 14:15
1
answer

How to put the Ajax return [form] inside a div?

$.ajax({ url: 'executa.php', type: 'POST', data: {emailDestino: emailDestino}, dataType: 'html', success: function(data) { $('#notifyInscrito').appendTo(data); } }); I'm going there in the executa.php...
asked by 26.11.2015 / 01:59
1
answer

Ajax returns own code and executes

I have a page that should generate selects by clicking the + icon. <div class='form-group' id='div_selects'> <label for='materiais_defeito'>Material com defeito?</label>&nbsp&nbsp<i href=...
asked by 23.02.2015 / 15:46
1
answer

Data grid with 0 function in the rest PHP or PHP + Ajax

I'm an Intermediate Programmer, and I'm in an Impasse, I need to display some items and what I need to fill out a prefect template. Let's explain the Logic okay? In My Table (I'll use examples ok?) ITEMS, you can add a maximum of 20 ITEMS (Up...
asked by 25.10.2014 / 22:00
2
answers

How to call a Java method using jQuery?

I need to call a method that adds a ArrayList to what the user reported in dynamically generated tags when they click "add". Any suggestion? I was trying to do it using AJAX, but I have not been successful yet. The value entered by the...
asked by 16.10.2014 / 20:34
2
answers

Get the value of a TD tag by jquery and send to method in Controller

How do I get the value of a tag when I double-click it and get that value and move to a method in my controller. The double click function is working. $('#nmUsuario').on("dblclick", '.clique', function() { CarregaDados(); }) Where nmUsu...
asked by 23.10.2014 / 12:45
4
answers

service returning result of a $ http

I'm creating a service for an AngularJS application where I should query a ws and return a value for a variable. My problem is that when I use $http I can not get this value to return, if I use a console.log() ... I do this: ap...
asked by 02.06.2015 / 21:02