Questions tagged as 'javascript'

0
answers

ViaCep API Validation

I am trying to validate the data not only by the zip code (code described below), I would like to do the other verification, when the client does not know the zip code and finds the same one searching the UF, street and city fields. The api webs...
asked by 15.05.2018 / 06:26
0
answers

How to make php wait for the value coming from the Javascript click?

I'm developing a system to evaluate a user (typical of stars), but I'm having problems passing values to PHP. Javascript code: function mouseClick(id){ var valorVoto = document.getElementById(id).value val...
asked by 15.05.2018 / 05:00
1
answer

Night Mode html css js

People, I found an API on the internet of a switcher that changes the theme of the page when clicking the button, but I'm not able to make other divs change color too, just the body that changes color, please help me. I tried to change the theme...
asked by 15.05.2018 / 01:37
2
answers

Menu menu is not working when I click on toggle-btn

Menu menu is not working, when I click on toggle-btn it is not calling my menu-config, it is not appearing function toggleSidebat(){ document.getElementById("menu-config").classList.toggle('active'); } *{ margin: 0px; padd...
asked by 15.05.2018 / 15:55
0
answers

Doubts with Scroll Bar in METEOR

Good afternoon, I'm trying to make a chat application, whenever I get a message and whenever I open the chat I want the scrolling to start down, when I send the message, it's already going to the desired position, and when I update it page also,...
asked by 09.05.2018 / 18:05
1
answer

FullCalendar - Block drag and drop when creating new events

Hello, I have a question on the drag n drop function in Full Calendar. I'm doing a web project and I need to limit the use of some functions, such as limiting the scheduling time (in my case in 1 hour duration) and I need to disable the drag...
asked by 02.05.2018 / 04:11
1
answer

Pass values within frameset

I have two pages, where it receives data by typing the product name and description: <html> <head> <meta charset="utf-8"> </head> <body> <form> Código: <input name="campo1" id="campo1" type="text...
asked by 30.04.2018 / 20:20
0
answers

Doubts how to "read" data in firebase-database

Assuming I have this structure in the database userId : { Messages : { SenderID : { PushID: { "msg": "Mensagem" } } } I'm using this code to "read" everything inside the "userID" dbRe...
asked by 02.05.2018 / 01:35
0
answers

How to replace html tags and save to a new file

I'm trying to check a .html file, remove some tags and create a new file with the changes made. In the method I am currently using (js, gulp) I end up doing multiple replaces in jail, I believe this is not the best way, I would like to know...
asked by 02.05.2018 / 14:56
1
answer

Formatting input

Hello, I'm having a big problem with javascript. I need an input field that is formatted as follows: Only accept number and periods; Accept only one point; After the dot only accept 8 decimal places; The part of accepting only number...
asked by 01.05.2018 / 19:57