Questions tagged as 'jquery'

0
answers

AngularJs $ scope.variable in function is returning undefine

I started to study about angular and realized that when trying to get the value of a variable inside a function its value is being returned as undefined . Only when I try to get the value does this occur, now if I try to set the value it works...
asked by 18.09.2018 / 14:37
0
answers

Is it possible to open a link on a specific browser tab using some target=""?

I have a contact signup system with a button to send whatsapp message to whatsappweb. When I click this button, it opens a whatsappweb tab in the conversation with that contact: <a href="https://wa.me/55'.$telefone.'" target="_blank">...
asked by 17.09.2018 / 13:59
0
answers

Problem Appear / Disappear Content

I have a code and I need your help to be able to execute as I want. There are only 2 points: the first thing to put content before (when you upload the site does not appear div or content ), I need to put a content and the user gets come back...
asked by 17.09.2018 / 04:51
0
answers

Html does not load with php include_once ()

I'm trying to run a php file inside the html, I get the file alone but when I call it by include_once () in html the page just does not load. HTML <div class="input-field col s4 m3"> <select name="estado" id="id_estados" cl...
asked by 23.09.2018 / 17:02
0
answers

Problem passing value 0 as AJAX parameter to PHP API.

I have the following jQuery block: $("button[name='btnConfirmSalvarAltEstoque']").on('click', function(){ var idEstoque = $(this).attr("id"); var novaQuantidade = $("input[name='iptValorEstoqueEditar']").val(); editarEstoque(idEsto...
asked by 23.09.2018 / 17:27
0
answers

Ajax does not load

I'm trying to fill in 2 combobox (State), (City) with the database return, the first one of states got, the states are shown and then I get their UF to do the municipalities query, but my ajax does not seem to call the php file. HTML <di...
asked by 23.09.2018 / 07:37
0
answers

Change button text when clicking with JQuery

Good afternoon! I'm trying to change the text of a button whenever it's clicked. (ONCLICK) The problem? Well, apparently all buttons have the same class and I do not have access to HTML, just the js and css of WP .. Is there any way I can add...
asked by 14.09.2018 / 22:49
1
answer

Serielize () jquery does not write variables

I'm not able to write the variables with jquery serialize (), what is the problem? //Executa em cada form: $('.formAjax').on("submit",function() { // Pegar o ID do formulário para depois: //Captura o elemento que sofreu o evento de "s...
asked by 14.09.2018 / 16:35
0
answers

JQuery function does operation when it receives date

Hello, I have a function in JQuery that receives a date parameter in the form Y-m-d, but when I get this data it does a subtraction math operation and returns the result. I took a look at the forum and did not find any similar question, could any...
asked by 18.09.2018 / 18:27
1
answer

Select table row contents

Do you speak well? I have an HTML application, PHP, Jquery, bootstrap and on the same screen I have two tables the first of clients I bring via AJAX when I type the client name in the "search" field, this returns me a table with name, cpf and...
asked by 18.09.2018 / 20:06