Questions tagged as 'javascript'

2
answers

Error executing function passed via parameter in javascript

I have this modalConfirmation function that I'm trying to use for several functions. In it I pass the title and the modal message and the function to execute if the user clicks OK. function modalConfirmacao(titulo, mensagem,funcao) { var h...
asked by 31.05.2018 / 21:20
1
answer

How to return only 10 records in firebase?

I want to return only an exact number of firebase records, but I do not know how it should be done, is there a way?     
asked by 30.05.2018 / 20:48
0
answers

Function is not called on mobile device [closed]

Person is as follows ... I am in a project of a website, where the same is responsive. On this site, there is an area dedicated to show news, where there is a button ( tag ) that opens a new tab with the news. The problem occurs there, at the ti...
asked by 30.05.2018 / 23:22
0
answers

Search system on the site itself, such as linking so many pages and recognizing the characters typed [closed]

I have a search bar here, however how do I search my htmls in my own pc directory? function executar(){ var tx= document.getElementById('tx').value; var lista = document.getElementById('ht'); var adicionar= true; var opt = doc...
asked by 29.05.2018 / 23:03
1
answer

I can not return onclick property to a button with its parameters

I created a simple game of the gallows, where within several multi-word themes a secret word is chosen randomly. The user has at his disposal 27 buttons, each with a letter of the alphabet and clicking a button calls a function (with 2 parameter...
asked by 30.05.2018 / 17:09
2
answers

Change icon automatically when clicking

I had a question about my change of icon in a javascript on a login page. I tried to use the same code or other parts of the page and it did not work, because on that same page there are other elements with the same type of button that would be...
asked by 30.05.2018 / 19:07
0
answers

Request data is coming null

Contextualization Home Deleting a record of errata history occurs the 404 error that the object was not found; the object is coming empty. How do I fix this? The request is arriving at controller . But no errata is found with that id and...
asked by 29.05.2018 / 21:20
2
answers

How do I access the date-weekday property of the div element with javascript?

How to access the date-weekday property of the div element with javascript? <div style="display: none;" id="weekday" data-weekday="7"></div>     
asked by 14.06.2018 / 14:27
1
answer

Making buttons that change the tab in a menu of type Bootstrap nav-tabs

I currently have the following code: link The following JavaScript code is intended to cause the buttons with the words "Previous" and "Continue", respectively, to return and advance a tab. But clicking does not happen. <script type="t...
asked by 29.05.2018 / 22:51
0
answers

Radio Button does not work

I created a form and put a radio button disabled and let it be enabled at the click of a button, when the button is pressed it is enabled but I can not change the option, the radio is locked in an option script to enable the radio button $(...
asked by 15.06.2018 / 14:15