Questions tagged as 'jquery'

0
answers

Front end image editing

<!DOCTYPE html> <html> <head> </head> <body> <script language="javascript" type="text/javascript"> function readURL(input, id) { if (input.files && input.files[0]) {...
asked by 04.10.2018 / 19:29
2
answers

Dealing with objects in JavaScript

For each card registered, I redirect the user to his card viewing page and there ready all the cards he has already registered. Each card has its nome , so for each card I create layout and enter nome . So far so good....
asked by 04.10.2018 / 19:30
2
answers

How to send string variables as parameter for Ajax call?

The following Ajax call would send to PHP the parameters corresponding to the form that called the function: var foo = "bar"; var bar = "foo"; function register(){ $.ajax({ method: "post", url: "meu_script.php", data: $("#form")...
asked by 26.03.2014 / 18:52
1
answer

Submit of form with jquery

I have this function to check the state and CNPJ / CPF registration fields and if they are correct it performs submit , only in submit , it is not respecting the required of the fields entered in ViewModel $('#FornecedorNovo...
asked by 03.10.2018 / 20:23
2
answers

Uploading image with Jquery

How to upload image using Jquery? This is a question that has been haunting me for a long time, I hope you can help me. Well, I've been researching and I've seen a plugin for this, ajaxForm. But I do not find structure to use it, in the pa...
asked by 25.05.2016 / 00:23
0
answers

How to leave a "selectable" list with js / jquery?

Hello, I did an autocomplete but I can not leave the list selectable with the keyboard, I can only select with the mouse through the mouseover function, would anyone have any solution for this? follow the code: function autoBanco(event, ds){...
asked by 08.10.2018 / 19:14
0
answers

manipulate nodelist

Good night friends, I'm not able to do a chore. help me this code generates a nodelist of the videos selected through the checkbox. I need to do the following, before the first video I need to put a text concatenated with the id of the first vid...
asked by 07.10.2018 / 05:02
0
answers

Click on an information, a text field appears, change information and save automatically

How can I make the user click on an information coming from DB, this information becomes a text field, the person changes the information and when I click outside the field, save automatically? As in PHPMyadmin.     
asked by 09.10.2018 / 02:43
1
answer

Request via Ajax not returning filtered data

I am trying to return data via Ajax to load a select of states in Rails, so that only returns the states that belong to a given Country, but the return never arrives in the conditional, always to the parse of the JSON that I'm requesting from th...
asked by 08.10.2018 / 22:38
1
answer

How to set a background with Jquery

I am modifying a very old panel of the system and I need to add a new div and set a color according to the ajax return. setInterval('carregarProximo()', 3000); function carregarProximo(){ //$("#id_chamada").load(baseUrl+"/chamada/b...
asked by 03.10.2018 / 16:02