Questions tagged as 'javascript'

1
answer

Add address bookmarks via JavaScript

Giving a search in Google (and here) I saw that it was possible some time ago to add addresses to browser bookmarks in JavaScript, but the methods used for this have been discontinued and I would like to know if there are new methods or not more...
asked by 19.01.2018 / 03:25
2
answers

How to delete input and bring filter options back

Good afternoon I have a cod. I want to be able to do this, but I do not know how to do this, but I do not know how to do this. just to simplify I made a reset button, which deletes my input but does not bring the options back, just brings it bac...
asked by 19.01.2018 / 16:43
1
answer

Parking system

I decided to create a project in pure JavaScript without a database, very simple even just to study. This system registers cars in a parking lot, so beauty, but I want the "Owner of the company" to enter the login and password, simulating a l...
asked by 19.01.2018 / 15:30
2
answers

Jquery effect does not work because of relatives

I need to open id="SUB_1" when I click on <li id="B1">Botão 1</li> and do the same when I click on <li id="B1">Botão 2</li> open id="SUB_1" that is below the q button has been clicked. And do m...
asked by 19.01.2018 / 18:28
1
answer

Validate an array of TextBox in JavaScript?

Hello my question is this, I have a js function like this: function testeCampos(elemento) { //Recebe lista de campos para valida��o var camposArray = new Array(); camposArray = elemento; //Recebe campo armazenado no array var campo, recFocu...
asked by 13.12.2017 / 17:49
1
answer

Change date that appears in a datepicker

I have the following datepicker: var dataIni = document.querySelector("#calendarioIni"); var dataFim = document.querySelector("#calendarioFim"); function checaVazio(){ var botao = document.querySelector("form input[type='submit']"); botao...
asked by 13.12.2017 / 15:26
1
answer

Feedback to the user

I have a method in php that performs certain task and then I need to give a success / error feedback to the user and return to my index.php. This feedback can occur both before returning as in my own index.php. My current scenario is as follows:...
asked by 11.01.2018 / 14:10
1
answer

TypeError: $ (...) .tableToJSON is not a function

Greetings When I click the button in my project the following TypeError error is displayed: $ (...). TableToJSON is not a function, I am using the tableToJSON plugin Code: $('document').ready(function(){ $('#TermVenda').click(function()...
asked by 11.01.2018 / 11:51
1
answer

How to format a field with ASP.NET WebForms C #

I need to format TextBox <asp:TextBox runat="server" id="txtValor" MaxLength="20"></asp:TextBox and I am very difficult, first this grid is opened in a modal, that is, when I create the main page I can not get control by javascri...
asked by 11.01.2018 / 21:37
1
answer

Posting a JSon object to Webservice via AJAX

I'm trying to send an object in JSon format to my Java Webservice by AJAX, but I was not successful, I already tested wrong formats, which are not JSon's, as "string", and the database reports error properly, and therefore should report that the...
asked by 17.01.2018 / 22:54