Questions tagged as 'jquery'

3
answers

Function Jquery can not find the Controller when I go to the server

During the development the function below finds the Control and makes the request correctly, however after publishing on the server the function no longer finds the Controller: During development I have to leave it like this: url: "/Contr...
asked by 22.06.2017 / 16:33
2
answers

How to make a slider range of time with jquery?

How do I make a slider range of hours from 00:00 to 23:59 with jquery ui? Code: $("#hora-range").slider({ range: true, min: 0000, max: 2359, values: [0000, 2359], slide: function(event, ui) { $(".min-hora-label").htm...
asked by 30.05.2017 / 19:04
2
answers

Events do not work with dynamic video?

I'm using a page where content is loaded dynamically with ajax, the problem is that some events, especially video, are not working as they should, for example: My functions.js loaded when entering the site: $(document).on("timeupdate...
asked by 04.05.2017 / 14:23
4
answers

Submit does not call function

After changing the code, I left it this way but I looked at the browser console and realized that the submit button still does not call the function: <div class="container"> <div class="spacer"> <div class="row contact"> <...
asked by 15.06.2016 / 18:00
2
answers

Return only integers

<title>Calculadora de Nível</title> <meta charset="utf-8"> <style type="text/css"> body { font-family: 'Segoe UI', Calibri, Helvetica, Tahoma, Verdana, Sans-Serif; color: #000; font-size: 11pt;...
asked by 15.11.2015 / 00:46
2
answers

Call function after fadeOut

I have a function that removes the row from a table, after removing it I need to be called the function getTotal(); . But any way I put it does not work, because of the effect of the line, I need to wait for the effect to pass, and...
asked by 18.09.2018 / 20:48
1
answer

.val does not work on submit button

I have a submit button with a span inside: <div class="btn-toolbar justify-content-center"> <button type="submit" class="btn btn-primary btn-loading"> <span class="circle"></span> Próxima etapa </button...
asked by 09.10.2018 / 17:00
2
answers

Remove Div on which the element is included

I have a form, where I make the clone (jQuery) to add new inputs, where I can also remove them. The problem that occurs is: I need to remove the "current" div where the remove button is located. And currently I can only remove the last element...
asked by 23.11.2018 / 14:57
1
answer

Go through array and draw empty elements

I have this array: {data: Array(5)} data: Array(5) 0: {tag: " "} 1: {tag: "a"} 2: {tag: "b"} 3: {tag: "c"} 4: {tag: " "} length: 5 How do I go through the array and take out the empty elements? ex: {data: Array(5)} data: Array(5)...
asked by 09.11.2018 / 16:21
2
answers

Change Href with jQuery

I'm trying to copy the href from the buy-button class to .test, however changing the "redirect = true" to false. I can only copy but not change the redirect. Can anyone help me? <a class="buy-button" href="/checkout/cart/add?sku=17839&am...
asked by 12.05.2014 / 22:42