Questions tagged as 'jquery'

1
answer

Inserting items into a table using Jquery

I have a form where I enter in the bank the sale and the items of the sale. When opening a particular sale, the items in that sale are then displayed in a table. When I want to add a new item to this sale, my form gets "stale." It disappears fro...
asked by 11.01.2018 / 21:22
1
answer

JQuery mask in a form

is a relatively simple question for you with more experience but I'm not getting a mask in an HTML form. <div class="site-element" element-id="1515038900431" element-type="skinInputElement"> <div>...
asked by 11.01.2018 / 01:39
0
answers

display json data coming from AJAX request

I do a post via ajax, and my php returns the data in json, but I can not get that data back. PHP: if (empty($_POST['unidade'])) { $errors['erro'] = 'unidade cannot be blank'; } if (!empty($errors)) { //If errors in validation $...
asked by 17.01.2018 / 17:14
0
answers

Track shipping progress using base64

I have the following code function readFile() { if (this.files && this.files[0]) { var FR= new FileReader(); FR.addEventListener("load", function(e) { document.getElementById("img").src =...
asked by 17.01.2018 / 16:42
0
answers

Animation svg with jquery and css works only in chrome

I have this code that does a spiral animation as it scrolls down the scrollbar $(document).ready(function(){ var mPrimeiro = false; var count; $('#servicos ul li.bloco').each(function( index ) { count = index; });...
asked by 18.01.2018 / 12:19
1
answer

Recover Bearer Token using ClientId and ClientSecret

Good morning, I need to make a call in an API, I have ClientId and ClientSecret, but from what I understand, I can make calls using the "authorization bearer". My question is how do I turn the id and secret into this "bearer token". I'm...
asked by 18.01.2018 / 12:55
1
answer

Uncaught TypeError: response.splice is not a function

Personnel could someone help me with the following error. I am doing an Audit page for a system only that javascript is giving error. Here'smyfunctioninJS$(document).ready(function(){$('[name="btn_detalhes"]').click(function () {...
asked by 11.01.2018 / 18:40
0
answers

Recover Json after success and use in PHP

I have the javascript code that returns me in a variable 'msg' the result of a query made in PHP. var page = "busca.php"; $.ajax({ type: 'POST', dataType: 'html', url: page, data: {idtabela: idtabela},...
asked by 16.01.2018 / 21:02
1
answer

Insert comma automatically while typing

When you enter a value, is there any way you can already do the correction by entering commas and points in the live? EX: Press 4 + 3 + 6 on the keyboard Input ja mosta = 4.36 EX: Press 4 + 3 + 6 + 8 + 8 + 8 on the keyboard Input ja mosta...
asked by 16.01.2018 / 20:25
0
answers

Paging with jQuery and ASP.NET MVC

I'm looking for a number of ways to do paging with Ajax and ASP.NET MVC, so far I've been able to show all the data in the database but I'm not able to show one at a time. In this part I wanted to show only one question and as soon as it answe...
asked by 23.01.2018 / 02:23