Questions tagged as 'jquery'

1
answer

Problem with background animate + css

"use strict"; window.onload = function() { setTimeout(start, 200); }; function start() { //Helpers function lineToAngle(x1, y1, length, radians) { var x2 = x1 + length * Math.cos(radians), y2 = y1 +...
asked by 30.12.2017 / 23:24
1
answer

Problems to validate starting date greater than final

I have developed this function to validate date range, but it has a flaw that I can not resolve. If I pass the values: Youshouldentervalidationanddonotletsave.ButitdoesnothappenandIdonotknowwhy.functionValidarDatas(){vardataInicial=$("#...
asked by 02.01.2018 / 14:17
1
answer

How to Set Max Height and Exact Position of a Button on a DIV on Page

   I would like to know how to put the red X button on top of the div How are you? HowIwantyoutostay: Currentlytheclassofmybuttonislikethis:position:absolute;top:9%;right:2%;Whenputtingthisclass:top:-9%;right:2%;width:24px;height:24px;...
asked by 02.01.2018 / 14:18
1
answer

Get Values from Cloned Fields Created Through JQUERY UI

Good morning everyone. This is a work I am trying to do. This code creates clones of the componestes, so they can be dragged to a certain location (they can be dragged by clicking on the blue border). But I have a problem getting the values from...
asked by 26.01.2018 / 17:15
1
answer

Owl Carousel how to use? HTML5 CSS3

Well, I started to follow the tutorial on how to make a carousel because I'm trying to make my HTML5 / CSS3 page have a carousel of 4 items per slide, so I saw this plugin's only way since I did not find another place to learn how. In the case, I...
asked by 29.01.2018 / 00:41
2
answers

Load html with Jquery

I need to call a html file and show inside a div using Jquery. I have this jquery code, which puts the html code inside the class conteudo_abas : How would you call a html file and display inside the conteudo_abas class? $('.aba...
asked by 19.12.2017 / 11:39
1
answer

Get attribute with JS

I'm trying to make a product cart, and that's fine, it's already working, beautiful thing, but, as always, there are problems, I'm kind of new to JS, so I'm picking up a lot, HTML <button class="add-to-cart" data-price="25.99">...
asked by 13.12.2017 / 02:06
1
answer

Change Class according to ID

I have the following structure. <div id="cabecalho"> <span data-bind="attr: { id: solicitacao.numero}"></span> <div> where, request returns a number from 1 to 10 I would like to add a class according to the number....
asked by 28.02.2018 / 16:03
1
answer

Convert value from a component select options em number

I have a select component and would like to convert the value to the Number format because when I save it I need a value 2 and not "2" The ideal would be to convert all tag <option>...
asked by 28.02.2018 / 20:10
1
answer

How to enable / disable a txt from a choice of a jquery radiobutton?

I need to enable / disable a field according to the choice in a radiobutton Validations This field should only be active when the "Inactive" radio button is selected Here is the code: RadioButton: <asp:Label ID="Label40"...
asked by 09.01.2018 / 14:41