Questions tagged as 'javascript'

1
answer

Ajax query does not work [closed]

Well, a simple query ajax, php and mysql. This same code changed only by the field name works normally on another page. $(document).ready(function(){ $('#email').keyup(function(){ var Email = $(this).val(); var EmailResult = $('#div_mensagem...
asked by 14.08.2015 / 23:22
1
answer

Click on a link go to another page and show the desired id

Well, I need to make clicking a link on one page go to another and only shows the content of the id indicated on the first page, how can I do this? I searched in several places and did not find exactly what I'm looking for. index.php <...
asked by 14.08.2015 / 22:55
1
answer

Asp.Net MVC does not execute JQuery after calling Action through "url:"

I need to call an Action using Ajax and so far everything is fine, I make the request as follows: confirm: function () { $.ajax({ url: urlToDelete + id, success: function () { //w...
asked by 15.08.2015 / 00:48
1
answer

Making a factory return the data of an Ajax request

I'm trying to make a factory return the JSON of an Ajax request that I'm doing, but I think because it's asynchronous, the container with the users always returns empty. So much that I tested with several console.log and the sequence of...
asked by 12.08.2015 / 01:17
1
answer

DELETE Ajax Request on an SDN Floodlight Controller

I have a function in my JavaScript that makes an Ajax request for the REST interface of a Floodlight controller. function excluir(nome) { var jsonExclui = ("{" + '"name": "'+nome+'" }'); alert(jsonExclui); $.ajax( { url...
asked by 16.06.2015 / 03:28
1
answer

load Google maps API after onload

I have a system that currently works with google maps api, but I noticed that the site waits for this API to load and then finish loading the page. on the homepage (index.php) I have the tag like this: <!DOCTYPE html> <html> ......
asked by 17.06.2015 / 20:12
1
answer

Incompatibility between onkeyup and date mask?

I have a problem using onkeyup in a date mask that is as follows: when I try to use backspace to modify the date, I can not get past the bar (just hold the button pressed). The bar disappears and pops up (test here in fiddle , or below u...
asked by 17.06.2015 / 07:02
3
answers

Doubt about loading modules with requireJS and angularJS

I am studying a code from a former employee of the company and he used requireJS + angularJS. It created several modules with enough services etc, however, my question is: when using a service or a directive, does the require and the angular loa...
asked by 16.06.2015 / 14:56
2
answers

Send html page variable to another page using javascript

My page receives information from my js, so this is my code: for (var i = 0; i < len; i++) { tblText += '<a href="teste.html"><table id="t01" class="table-bordered">'; tblText += '<tr><th>Protocolo</th>...
asked by 18.06.2015 / 19:42
2
answers

How to Type in a Select?

How can I make a select work also as a search field? Type, the client types as if typing in a input text for example, and the select options are being filtered according to what he typed. I'm not sure if it would be a sel...
asked by 03.02.2016 / 18:11