Questions tagged as 'javascript'

0
answers

Balls are filled according to the status of the page

I'm developing a form where I have three pages and consequently three top balls, each representing a page. The form logic is now complete where each page is displayed according to the variable parameter with a data-ng-show. I need that according...
asked by 19.06.2018 / 02:31
1
answer

Why is jQuery becoming obsolete? [closed]

More and more, I find articles (in English or in Portuguese) that speak of this ... Am I wrong to continue using jQuery on websites? What's wrong with him? Is there any other framework (or lib ) that I should learn to set asi...
asked by 31.01.2018 / 14:35
1
answer

Dealing with events in elements added later

Consider the following HTML: <div id="div"> <button class="foo">Botão1</button> </div> And the following script: $(".foo").click -> alert "foobar" $("#div").append '<button class="foo">Botão2</...
asked by 11.09.2014 / 14:42
0
answers

I need a same form with 2 buttons to send to different places

Good night guys, I have a little problem I have a foreach that loads several cards on a page, each card has a modal with its card information, Modals are loaded from same way as the card, I need one of the buttons to update the patient inform...
asked by 17.06.2018 / 00:01
0
answers

Paging dataTable JSON - Parameter passing in a function

I have a table that should be paged. It is already receiving the JSON and populating the table, but in the fifth and sixth column I need to do treatments, the content of them will depend on certain condition. function buscarConteduoBtn(p...
asked by 16.06.2018 / 01:05
0
answers

How do I return items related to the one selected in the selectbox?

My problem is to return values related to the element that I chose in the select box. To contextualize: I have a set of cities and these cities have related items to them. I need to return only the items attached to it when selecting a city. The...
asked by 23.06.2018 / 17:27
0
answers

Capturing images

Hello. I'm creating an application in which I use an imageview, an editText and a calendarview, the imgageview and the editText are for customization, so that the user can select the image he wants and leave the message he wants, leaving the cal...
asked by 23.06.2018 / 14:59
0
answers

Access value in HTTP response

Hello! I'm implementing a login method. When the user logs in, the backend generates a JWT and sends the token to be stored in the localStorage of the HTML. Never used TS / Angular 4, in AngularJS I had no problem with this, see my function,...
asked by 15.06.2018 / 19:32
0
answers

how to execute the SendKey from javascript only once

I'm doing a page that when open sends the command F11 by the javascript function SendKey however I need this function only execute once someone knows how to do this, follow the code below: function requestFullScreen() { var el = document.body...
asked by 15.06.2018 / 16:08
0
answers

JavaScript does not work in the plugin

Good evening guys, I made an extension to chrome but the javascript does not want to work, I already loaded it in developer mode, I already uploaded a google store version for testing and nothing, could you help me please? Manifest.json...
asked by 20.06.2018 / 05:44