Questions tagged as 'jquery'

1
answer

Minute-by-hour chart with chart js

I do not know if I'm going to be clear, but I'd like to make a graph showing the line of CPU utilization per minute with Chart JS, but with the Y axis rounding by the hour. I was able to do the rounding using parameters of the tool itself, howev...
asked by 31.07.2017 / 23:16
1
answer

Jquery create object containing form data

I need a hello, I'm trying to create an object containing all the data in a question / answer form.  in php I create the radios like this: <input type="radio" name="'.$row['id'].'" class="'.$row['id'].'" value="'.$row2['id'].'">&nbsp...
asked by 01.08.2017 / 02:04
1
answer

Get value or name of the button with JQuery

Does anyone know how I could get value of a button using JQuery ? What I want to do is to use this value in a textarea , so it does not necessarily have to be value , name would also work. I want it...
asked by 04.07.2017 / 22:47
1
answer

.position () giving error - JQuery

I'm getting the following error: Uncaught ReferenceError: position is not defined What's wrong with the code? $(document).ready(function () { $('.main_menu a').click(function () { var g = '.' + $(this).attr('href').replace('#'...
asked by 02.08.2017 / 01:49
1
answer

Drag image out of div using JQuery UI

I have a div with a list of photos using the BxSlider plugin and I'm also using JQuery UI to perform drag and drop. Now, what I need is a way to drag the image out of that div (photos), because when I try to drag it it goes inside the div its...
asked by 03.07.2017 / 13:33
1
answer

dataTable table does not work correctly

I am implementing a dataTable in my web project, I have already re-implemented the dataTable several times to fix the problem, but with no success. The problem is that the dataTable features do not work in my table. As you can see below: Ialrea...
asked by 15.07.2017 / 19:37
1
answer

Add tooltip to button that came straight from Php via Ajax

In my PHP server I return some data between them a button $HTML = " <button id=\"btnExcluir\" style=\" width: 55px !important;\" onclick=\"Excluir();\" type=\"button \" data-toggle=\"tooltip\" data-placement=\"top\" title=\" Excluir i...
asked by 30.07.2017 / 16:35
1
answer

Google maps: map does not render via call javascript / jQuery

I need to embed a map in my project. However, from the tutorial of the API itself, I could not make it work, until they discovered that the problem was Bootstrap, or Laravel - or both, together. That is, although I am not sure, but under test...
asked by 30.07.2017 / 15:20
1
answer

Validation does not redirect PHP / JQuery

I have a validation form, however it is not redirecting to the page after checking access when using JQuery, but when I use it directly in PHP, it works. JQuery $(document).ready(function(){ $('#login-form').submit(function() { da...
asked by 05.07.2017 / 16:21
2
answers

How to pass the value of a php variable into a javascript link inside a script

I have a script with a link and a variable, how to pass the value of this variable inside the link in the script? if($mensagem_post == "1"){ echo'<script> swal({ title: "Você tem certeza?", text: "Este arquivo não poderá ser...
asked by 24.06.2017 / 23:47