Questions tagged as 'jquery'

1
answer

How to solve margin calculation problem in JavaScript?

I have the following inputs: 1st Cost, where I inform the value of 6,23 2nd Margin, where I enter the value of 29,21 The JavaScript does the automatic calculation and returns me 8,05 in value Well, that's all...
asked by 04.03.2016 / 14:14
1
answer

How to use session to prevent a modal from opening again?

I have a site in HTML, in the index I put a modal to open as soon as the person enters, this modal is to collect the person's email, however every time the person updates the site the modal reappears . I would like to know if you have something...
asked by 17.03.2016 / 16:19
2
answers

How to get input value with click div (multiple divs with same class) with jquery?

I have the following code: <div class='premios text-center col-xs-12'> <div class='div-img-premio'> <img class='img-premio img-responsive' src='$imagem'> </div> <p class='nome-premio'&g...
asked by 11.03.2016 / 19:13
1
answer

Hide address bar on mobile devices

Is there any way to hide the address bar in mobile browsers?     
asked by 23.03.2016 / 15:23
1
answer

Call a href page by passing the input fields of the form

I have a page that has several inputs, when I click on the button I open a modal with the result and inside modal I have another button to be clicked but I need to get the form fields and move to the other page. > My detail button code looks l...
asked by 30.03.2016 / 18:12
1
answer

Show Loading Image in the Middle of the Screen

I have a form and typing the zip code shows a loading gif while I load the street, the neighborhood and etc. The problem is that as the user goes down the form, the loading gif does not appear because it gets stuck at the top of the form givi...
asked by 12.01.2016 / 19:11
3
answers

Ajax works locally, but does not work on the server

I have an application in asp.net mvc 5 where the code below works locally (visual studio 2012), but does not work after posting to the server. controllerAction = "/Controller/Action/" controller = "/Controller/" $('#approve-btn').click(functi...
asked by 27.01.2016 / 19:09
1
answer

Regex does not work in chrome

I have the following script in which I use a jquery to validate a regular expression that filters the names of the files to upload: $(document).on('change', "input[type='file']", function() { var validaFile = $("input[type='file']").v...
asked by 02.12.2015 / 17:52
5
answers

How to get all the HREF and SRC values of a code

Talk to people, I need to get all the href and src values of the tags, link, a, img and script, for this I have developed the following code: <html>   <script> $(document).ready(function() { function execute...
asked by 07.12.2015 / 12:59
1
answer

Form with two destinations

I have the following form: @using (Ajax.BeginForm("minhaAction", "meuController", new AjaxOptions() { HttpMethod = "POST", OnFailure = "alert('Erro!')", OnSuccess = "TrabalharResultado" }, new { id = "meuForm"...
asked by 26.08.2015 / 19:56