Questions tagged as 'jquery'

1
answer

Crawl AJAX requests in progress

I'm working on a page where I have a refresh button, clicking it runs a series of AJAX requests to complete the data available on the screen (4 requests to be more exact). If the user clicks the refresh button, I would like to disable the bu...
asked by 16.12.2018 / 05:32
1
answer

How to avoid the Chips component of the Materialize in white?

I'm using the materialize chips in my project but wanted to avoid this default behavior of adding the same empty tag, for example: How do I prevent this and insert the tag only when I have at least one character? What I got closer wa...
asked by 11.12.2018 / 18:12
1
answer

How to trigger this progress bar?

I started to study JavaScript and jQuery, and looking for how to make a vertical progress bar I found the function below: It worked perfectly as I wanted, but I'd like to know how I can get the bars to run (start loading) only when I scroll a...
asked by 21.06.2018 / 08:00
1
answer

make the setInterval () stop with mouse hover

I'm creating a JS to run the code as if it were slides. <div class="uk-panel uk-panel-box tm-mandato uk-hidden-small widget_recent_entries"> <div class="uk-width-1-1 uk-width-medium-1-4 uk-overlay-hover"> &l...
asked by 07.12.2018 / 16:03
2
answers

Formatting / Punctuation of values in Reais

I have a comparison of values to check whether it is possible to take a draw or not. I'm having trouble formatting the values and comparing them. See: Andintheconsoleisbringingmeformattedthisway: Thatis,wheneveritisvalidatediftheamount...
asked by 19.06.2018 / 19:07
1
answer

Remove dynamic inputs

I wanted the help to be able to delete a line from my form with javascript. I'm able to duplicate it, but do not remove it . $(document).ready(function(){ var clone_step1 = $("#step1").find(".duplicar-presencial").html(); // cópia da d...
asked by 04.07.2018 / 23:37
1
answer

DOM manipulation with VueJS and Jquery

I'm using pure materialize along with pure vue to make my own admin template, that is, I generated the project by vue init and put in the index.html the links to the css and js of materialize. The problem is that events called by js from materia...
asked by 08.07.2018 / 17:10
2
answers

Update object values via GET without repetition

I'm working on a flat table, which has a script with several objects, like this: var plano_basicoUS = { 1: null, // mensal 2: null, // trimestral 3: null, // semestral 4: null, // anual }; var plano_economicoUS = { 1: nu...
asked by 13.06.2018 / 03:53
1
answer

Consume via JQuery-Ajax, an API at localhost: 28033, from a page at localhost: 7545

I'm trying to do something, but it's not working. I have two .Net Core 2.0 projects, an API, and an MVC. I want to run ajax calls from the MVC project, to the Project Controllers API. I open two visual studios, and I run two projects: R...
asked by 07.07.2018 / 03:46
1
answer

Disable field when clicking the checkbox [closed]

How do I disable a field by clicking the checkbox option?     
asked by 14.06.2018 / 23:23