Questions tagged as 'javascript'

1
answer

Get item from an array with jQuery

I have the following structure: [{tabela: 'tabela1', coluna: 'coluna1'}, {tabela: 'tabela2', coluna: 'coluna2'}] I need to enter this data within div in the format:    [TABLE.COLUMN] In case it would stay:    [table1.column...
asked by 08.09.2016 / 16:39
2
answers

String comparison problem in AJAX

Good evening, I have a problem with here, I'm using an ajax code to check if a cpf is already registered without the refresh on the page to not lose the data, and returning a string with a value encrypted in sha1 for comparison and know if there...
asked by 13.09.2016 / 01:37
1
answer

Prevent input having text by default

How do I prevent when opening a form, the inputs are empty and do not have text by default. Basically what I want is for the inputs to be without any associated value. In this case the password is already there, but I wanted it to be always e...
asked by 08.09.2016 / 12:03
1
answer

Include function in a field

Good afternoon, so I need to make an error message appear when the user does not put the email with "@". already has a function that already includes all the fields a class when they are left unfilled. How can I make a class appear for the em...
asked by 11.08.2016 / 21:29
2
answers

Button available when filling fields

Good afternoon, How can I make the send message button available only when the user populates all fields correctly? <h2>Quero um <span>Automóvel</span></h2> <div class="form">...
asked by 15.08.2016 / 22:12
2
answers

Action that returns PartialView not being called

I need to present a list of results by completing the form below, but the search is not displaying the result. The action in controller is not being thrown. @using (Html.BeginForm()) { <div class="form-group"> @Html.LabelFor(mode...
asked by 03.10.2016 / 17:26
1
answer

What can you do with Google Firebase? [closed]

I've known Firebase for some time, but I've never been able to do anything, I'd like to know what I can use, do, create etc using the APIs, etc. Note: No Mobile application, Web only!     
asked by 26.09.2016 / 02:17
1
answer

How to modify inline CSS after page load?

Good, I'm doing a query to the database, where there is a field that has html content. Inside this content there is a table, which has some inline CSS with a width defined in px. I need to change the width property of the table to 100%; Th...
asked by 27.09.2016 / 13:43
1
answer

jQuery function does not work inside if

I have the following code: function formataPorcentuaisMensais(){ var cancelamento = $("#cancelamentoMes").text().replace('%',''); var aproveitamento = $("#aproveitamentoMes").text().replace('%',''); var primCompras = $("#primCompra...
asked by 10.01.2017 / 22:54
1
answer

Working with fullcalendar jQuery

I need to release the click on the event, when I click, I will have to give the option to edit the event, its information, and the option to delete this event. FullCalendar Website In the above site there are some examples but even with...
asked by 06.01.2017 / 03:15