Questions tagged as 'jquery'

0
answers

How do I delete a song in my library using the Spotify API?

I have the following code: $.ajax({ //url: 'https://api.spotify.com/v1/me/tracks?ids=1ftBvRj542ol7LT1A0EtL7', url: 'https://api.spotify.com/v1/me/tracks', meth...
asked by 03.10.2018 / 16:34
0
answers

I can not run 2 javascript scripts on the same page

I made a script in javascript to add and cut an image of an input, it worked perfectly, the problem is when I try to do the same for another file that is loaded on the same page, the first script stops working and only the second works. HTML...
asked by 08.10.2018 / 05:53
0
answers

get the data-value with JavaScript [duplicate]

I'm trying to get the value of the date field from a select, but I'm not getting it. Only the default value field I'm getting. The field in select is as: "data-value2" Using .valor2 HTML:<selectonchange="verificaHierarquia(this)"...
asked by 02.10.2018 / 17:48
0
answers

Add information to edit record with DataTables

I start the Datables in this way, notice that it has an Edit button on each line: $(document).ready(function () { table = $("#table").DataTable({ columns: [ { title: 'Nome' },...
asked by 01.10.2018 / 03:54
0
answers

Error without explanation, Uncaught SyntaxError: Unexpected end of JSON input

I'm doing a chart and I'm using Chart.js, PHP and jQuery. I was able to run with the correct information, but after a while it stops working and displays the following error: Uncaught SyntaxError: Unexpected end of JSON input at JSON.par...
asked by 27.09.2018 / 14:47
0
answers

jQuery giving "Unexpected token;" problem in variable assignment

I use this code below to load on the display of a DataTable values according to what the user selects, it is not possible to use the default DataTable and must be so I can request the server the required amount. The code below is how this is don...
asked by 26.09.2018 / 15:10
0
answers

jQuery does not want to run on mobile

I'm using a function so when the person clicks on the inputs the value is replaced by monetary value, but on the mobile phone it only works if the person clicks "ok" or "go", and I wanted it to execute as soon as the person to click on the input...
asked by 26.09.2018 / 17:06
0
answers

Error (Undefined offset: 1) of PHP and jquery

I have a problem with working with array in php what happens, I have the following code: function AddRows() { var campos_max = 10; var x = 0; $('#add-row-fixe').click(function (e) { e.preventDefault();...
asked by 25.09.2018 / 23:18
0
answers

JQuery and changes 1.12.24

Good morning, friends, I have a JQuery code for a "page up" function, but it does not work because of my version of Jquery that is 1.12.24 and I can not update. Is there any way to adapt the code with accepted functions in this version? Do...
asked by 24.09.2018 / 13:54
4
answers

How to validate CPF on client side with script?

I'm working with a CPF validation in my controller , but I need to validate when the client exits the input of the CPF and then return a message advising when the CPF is incorrect, alert or something similar. I tried to do somethin...
asked by 20.02.2015 / 01:48