Questions tagged as 'jquery'

2
answers

Set and change color in the menu depending on the scroll

Good afternoon I wondered if some way to change the color of a floating menu in a one page template depending on the section of the page where we are. As in this example: link But without using Bootstrap because I would like to keep my o...
asked by 31.07.2015 / 19:28
1
answer

OnSelectionChanged MVC

Late, How can I do to call the OnSelectionChanged event of a DDL using MVC? I have the following DDL: @Html.DropDownListFor(model => model.Type, ViewBag.Type as SelectList, "-- Select --", new { id = "ddlType", onchange = "onchange()"...
asked by 20.05.2015 / 20:34
1
answer

Container that adjusts to 100% height and width of window size

I wanted to create a container or a secção that automatically adjusts to the size of the height and width of the screen, which even when resized the secção suits the size of this, followed by another type of content just bel...
asked by 20.05.2015 / 03:24
1
answer

How to work with Ajax with JQuery?

I have the following function: function getJson() { $.ajaxSetup({ async : false }); $.getJSON(baseURL + "/ObterCursos", function(data) { $.each(data, function(key, v...
asked by 09.06.2015 / 04:43
2
answers

$ .GET JQuery Doubt

I have method: RepoApi.prototype.getContributors = function() { var returnList = []; $.get(this.url).done(function(response) { console.log(response); returnList = response; }).fail(function(response){ cons...
asked by 05.05.2016 / 17:14
1
answer

city state JQuery selection error

JQuery: $(function() { $(document).delegate('#estado', 'change', function() { var valor = $('#estado').val(); $('#cidade').load('_requires/cidades.php?estado=' + valor ); }); $(document).delegate('#cidade', 'change', function...
asked by 27.04.2016 / 16:52
1
answer

Recover css with jQuery

Galera I mounted a table where I right click and the line turns yellow, and displays a menu. Everything works 100%. The problem is that when I click somewhere else and the menu closes and the background color of the line turns white. How do I re...
asked by 03.05.2016 / 22:52
2
answers

Real-time account for table generated with jQuery

I'm having trouble letting the multiplication of quantity * price in a dynamically created table. Better to explain, is to show. Here is the code in jsfiddle: link HTML <div class="container"> <div class="row...
asked by 18.12.2017 / 23:08
2
answers

Problem with a modal

Well,Ihaveaproblemwiththismodal,itopensassoonasIentertheindex.php,butincaseIchangethepagetoextoduvidas.phpandclicktogobacktoindex.phpthealertappearsagain,forthealertonlyappearsonceandonlyappearsdnvifthepersonclosethetab?code:<script>funct...
asked by 08.01.2018 / 21:04
1
answer

Validate if one of the fields has been filled out

I'm using the Jquery Validation plugin I need to know if at least one of the fields has been filled out Fields > Phone, Mobile I tried to do this: $("#Telefone").rules("add", { required: $('#Celular').val() == '...
asked by 16.12.2014 / 17:12