Questions tagged as 'jquery'

0
answers

Geolocation, permission and Google Maps

I'm programming a site to get the user's location in real time, however I have 3 problems: accuracy permission to use the location (I do not know what event it takes when the user allows you to use your location or deny it, I can not work...
asked by 01.07.2018 / 01:54
0
answers

Dropdown html treatment for many options

I have a dropdown that is fed into PHP by querying an Oracle database. It is working normally, however the amount it returns is 15000 records and each record is an option in the dropdown. This slows down and becomes unusable as well. Simplifi...
asked by 27.06.2018 / 17:45
2
answers

HTML preview showing the first element

I made this html preview, it works fine for my purpose however the first element is appearing as text, and this is a bad result, I understand very little of jquery and javascript, I'm starting to study, I'd like to understand the is going wrong....
asked by 07.07.2018 / 23:10
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

Ajax POST does not execute the ASP.NET MVC action

   Controller Action public class EstabelecimentoController : ControllerBase { [HttpPost] public ActionResult ImportarEstabelecimentos() { var file = Request.Files["inputFileImportarEstabelecimentos"]; return Red...
asked by 15.06.2018 / 17:44
1
answer

How to retrieve the number of elements within a card-group

I have a card-group that needs to know the exact value of elements inside it, because, I want to achieve 3 elements to create another card-group with 3 elements and so on ... I made a card-group with 3 elements to test, however it is returning t...
asked by 14.06.2018 / 21:03
1
answer

Dynamic ID with Jquery

I have a function that it creates a span with id, however I need this id to be generated dynamically. $("#lista").append("<span id='span'><br> " + label + " - R$" + valor + "</span>" );     
asked by 29.05.2018 / 16:47
0
answers

JS Function Validating Email for IE and Edge

I have a JS code that validates email perfectly and is in use on the portal. No then this function does not work in the IE browser and / or Edge. function validaEmail(email) { var regex = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66}...
asked by 05.06.2018 / 20:47
0
answers

Identify type of operation with javascript

How can I identify when the click is "From:" "To:"? I have a code to add a value from a database field, to another field, follow the example: HTML: <div class='row justify-content-center'> <div class="con...
asked by 05.06.2018 / 22:14
1
answer

Problem logout with Google social login

I'm having trouble logging out with Google social login. I was able to set the login and execute successfully receiving the return of the name, email and photo, and redirected to the dashboard successfully. In the dashboard I entered the sett...
asked by 05.06.2018 / 21:12