Questions tagged as 'jquery'

1
answer

POST problem using JQuery

I'm studying JQuery and I'm having a problem with giving POST to an API that I have. Follow my html : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Co...
asked by 15.03.2017 / 01:59
1
answer

Clear fields on a form

So I'm with a problem here that is as follows: I have 2 forms. Form2 that sits inside form1. And I wanted a button to reset only the fields of form 2. But the input type="reset" that I place inside form 2, ends up clearing the 2 forms. Wou...
asked by 11.02.2017 / 15:32
1
answer

select multiple inputs with jquery through attribute 'name'

I have a jquery script that selects a particular select through the 'name' attribute and makes some changes to the label of another select: var selectRecheioGroup = $('select[name=recheio1] .grupoRecheio'); The question is: how can...
asked by 11.02.2017 / 01:05
3
answers

change soon by decreasing screen width

I would like that when the site was seen in mobile the logo appeared smaller, I have two logos, logo1 (major) and logo2 (minor), as I do when the site is opened on a device with screen up to 800px wide logo1 is exchanged calls logo2 logo1 &...
asked by 11.02.2017 / 02:00
3
answers

how to call a php function through ajax?

How can I call my function PHP by ajax when a click occurs on my span ? I am not able to call the function correctly anyone could help me? code HTML <span id="link" class="dropdown-toggle icone"> <i...
asked by 04.02.2017 / 22:55
1
answer

Condition to call masquerade!

How can I do to read the first character entered in the input and the part of the condition to be called a specific mask. if(Se o primeiro caractere no input for letra){ }else{ $('#login_username').mask('(99) 9999-9999?9').focuso...
asked by 03.02.2017 / 17:10
1
answer

jQuery conflict with AngularJS

I'm having a problem with AngularJS and jQuery . When I use only jQuery in the layout, the menu (sidebar) I have it opens normally. But when I add the AngularJS the menu does not open anymore, it is simply closed. The bad thing abou...
asked by 27.10.2016 / 19:48
1
answer

Reschedule variable via GET jQuery URL

I have the following jQuery $(".quantidade_lotes").change(function() { var quantidade_linhas = $("#quantidade_linhas").val(); var quantidade_lotes = $(".quantidade_lotes").val(); var mensagem = $("#mensagem").val(); var url =...
asked by 26.10.2016 / 20:54
1
answer

Dynamic SetTimeOut with PHP

I'm trying to get an hour of a certain post update every 1 minute. Code: setTimeout(function() { var ID = $(this).attr('id').split('hora')[1]; // pega o ID e retira a parte "like" $.get('index.php?hora=1&id='+ID, fun...
asked by 06.11.2016 / 01:24
1
answer

Capturing the hours in the fullCalendar library

Good morning! I'm working with the fullCalendar library, and would like help in capturing the hours when I clicked on a particular range. I'm getting the good date, the problem is only with the hours. dayClick: function(start, end, allDa...
asked by 29.11.2016 / 13:18