Questions tagged as 'javascript'

1
answer

Error Scrolling a Json

Good afternoon guys, I have a question regarding json, I have the following json: { "jsonrpc":"2.0", "result":{ "nr":26, "lista":[ { "codigo":"2", "nome":"Pratos Quentes" }, { "codigo":"...
asked by 19.04.2017 / 22:30
1
answer

How to delete a specific class from querySelectorAll?

I'm working on a project where I use bootstrap modals, due to a problem of overlapping some elements, I needed to use a script that always assigns the highest value z-index +10 of the page to the new modal open, so that there is no proble...
asked by 19.04.2017 / 16:31
2
answers

Replacing characters in a string

I have a string to be passed by the form and would like to replace some of its characters so that it is in numeral form: if(form1.autonomoBonusBruto.value.includes("R$")){ form1.autonomoBonusBruto.value.replace("R$","");...
asked by 15.12.2016 / 02:10
1
answer

nulling function action if result is false

I have the following function: if the entered data is NaN, it gives focus to the field and changes the border function validaNumero(){ dado = document.getElementById("new_partner"); var formulario = document.getElementById("new_partner...
asked by 21.12.2016 / 19:56
1
answer

Delete PivotTable line via button in dialog box

How do I delete a row from a PivotTable via a confirmation dialog (modal)? So far I can delete just using the delete button directly from the row itself in the table, but I'd like to have a modal with a commit before deleting it. In the ta...
asked by 19.06.2017 / 23:09
1
answer

Api facebook does not return date of birth

I'm using facebook's api to login and get some user data like first name, last name etc. function apilogin() { console.log('Welcome! Fetching your information.... '); FB.api('me/','GET',{fields:'first_name,last_name,email,birthday'}, functio...
asked by 17.12.2016 / 23:02
2
answers

get array time with jQuery?

I have this code: var fhora = function(horamin, horamax){ var horas = ["11:20", "04:40", "22:30", "07:00"]; return horas; }; How do I get back to the hours between 05:00 and 23:30? fhora("05:00", "23:30");     
asked by 21.06.2017 / 11:04
1
answer

React-native error after installing lib react-native-router-flux

After installing the react-native-router-flux lib in my app this error appeared in: I've done the procedure to remove the folder     
asked by 04.05.2017 / 20:54
1
answer

doubts with sortable jquery

I'm wondering how to use the jQuery sortable. I have to block so that the user never puts a tr on th 2º Notice that when you drag a place line the data is all stuck together, how do you keep the columns separated? $(doc...
asked by 08.05.2017 / 18:10
1
answer

Add css transition in div on Flexslider

I have a flexslider in a Project, in it I have the background image and inside a div with description and button for external link. What I need to do is that with each slide change, this div has a transition, as if it were to give left 0 and up...
asked by 24.01.2017 / 14:39