Questions tagged as 'jquery'

1
answer

How do I detect a click outside an element?

I have some HTML menus, which I show when a user clicks on these menus. I would like to hide these elements when the user clicks off from the menu area. How could I do this?     
asked by 06.09.2018 / 20:52
1
answer

Problem with Get in jquery

My script works perfectly, however it has hours that require the page of the file to be sent a selection type category, and it sends to the address bar as if it were $_get , however everything is via $_post in serialize of jQue...
asked by 08.09.2018 / 22:00
1
answer

Send form without loading page via json

I'm developing a website and I'm using laravel, and I need to send a form without updating the page, I'm using jquery, but I do not know much about it, can anyone help me? html form <form> {{csrf_field()}} <div class="user i...
asked by 16.07.2018 / 18:58
1
answer

How to display data (.log) in real time in an HTML page?

So, I'm trying to make a logger that can be viewed on an HTML page, in real time. The page loads all .log's files (from: / clearing-dit / logs /) and makes it possible to click on each one to show its contents. <button type="submit" class="...
asked by 16.07.2018 / 20:40
3
answers

Popular table in page load

Hello. I am creating a people registration page, with each click on the save button, a csv file is generated, which on the next page loading should be used to show the already done entries on the screen, so that the user can know who has already...
asked by 16.07.2018 / 15:25
1
answer

How to use Javascript with Bootstrap4?

I'm doing my front end with Bootstrap, I want to use js for events like onclick, for example. Ifyoucannotseetheimage(shortversion):<html><head><title>AgileHub-Parafernalia</title><metacharset="UTF-8"> <li...
asked by 04.07.2018 / 17:16
1
answer

Error saving monetary data: A non-formed numeric value encountered

Contextualization: Home I am using the * Jquery-maskMoney library to format the monetary data. But when saving this data the following error occurs:    A non well formed numerical value encountered JQuery Library: link The fol...
asked by 03.07.2018 / 22:41
4
answers

Problems with jquery click

I have the following code: <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> $.getJSON('livros.json', function(data) { $.each(data, function(i, item) { console.log(item.na...
asked by 04.07.2018 / 19:02
1
answer

Clear input - ng-model - change

I have md-select where according to the selected, I create some div's using ng-if . These created divs have in 02 of them, equal models (ng-model). Therefore, when performing the md-select switch to another that has the same model,...
asked by 27.06.2018 / 13:54
3
answers

Click Dynamically Generated ID

Good evening! I have a remove button that is generated via Jquery. I would like to know how to click this button via pure Javascript. I have tried to diversify the way the button is not seen in the source code, only when I inspect. $...
asked by 11.07.2018 / 22:10