Questions tagged as 'javascript'

2
answers

force a one-button event after deleting log via modal

I want to force a click on the panel after deleting a record via modal. [!] [Description of the Panel] [1]] [1] I need to immediately push the panel button shortly after deleting the file. $('#btnDelteYes').click(function () { var id...
asked by 19.02.2018 / 19:24
1
answer

Update value using For each event

I have this code here: var current = 0; var array1 = [1,2,3,4,5,6,8,9,10]; function aparecer(){ //verifica se o current é maior do que o array if ( (array1.length - 1) < current ) { alert("oi"); //isso deveria parar a fun...
asked by 19.02.2018 / 21:01
2
answers

How to make an image fit to div size by background-image: url ('') using javascript or css.

I have a div that has size 200x300 and one that has 50x100, the 2 div will receive background-image: url('') that the user informs, however he can put an image with size 1280x720, soon, the image will appear a little bit in...
asked by 19.02.2018 / 14:10
2
answers

How to generate event from marking or clearing checkbox with jquery / javascript

I'm trying to generate events from user action in a checkbox list. The idea is simple: Manage the appearance of "divs" content on the screen from the ".toogle ()" jquery method in checkbox in html. The method works for other input elements, s...
asked by 18.02.2018 / 16:31
1
answer

Apply the JQUERY UI Revert Property

I'm having a problem handling jquery library UI. I have the code in the link below.This code provides the creation of clones of the textarea that are dragged to the field / area just below. I'm trying to apply the property (revert) to when the e...
asked by 08.02.2018 / 16:30
2
answers

Full Menu in Jquery

So people, I need some help with Jquery to make this menu. I have a div that is activated when the menu item is clicked, but I still need some settings to make it round, and what I need is: Make it impossible to display more than one of t...
asked by 08.02.2018 / 20:26
1
answer

popover button bootstrap in jquery does not show content

Good morning guys, I'm trying to understand how the bootstrap popover works, I'm trying to use a button-like form to understand how it works but that's a secret for me. Although following tutorials, or indications of bootstrap page documentation...
asked by 08.02.2018 / 11:58
1
answer

Javascript, or otherwise, to delete a certain line of the html code, and create another in the same place as the previous one

I need to know if there is a function that selects a specific HTML line HTML to delete it, when it triggers the function, and something to create a new line of code in the same place gives off line, middle which to replace even. OBS: It's...
asked by 08.02.2018 / 18:42
2
answers

Change class and item id when receiving click event with pure javascript

I have the following line: <li id="fecharMenu"> <i class="mdi mdi-window-close mdi-24px" id="iconFecharMenu"></i> <a href="#"></a> </li> When the user clicks on <li id="fecharMenu"> ,...
asked by 09.02.2018 / 12:38
1
answer

transport data to another page

I am doing the frontend of a login system and am using pure javascript for this. I can already log in to the API and in the browser console to receive the data of the user that is logging on. This is my AJAX: function loga() { console.log("E...
asked by 16.01.2018 / 19:34