Questions tagged as 'jquery'

2
answers

Open another page in JQuery modal

I have a problem that I can not resolve in any way. Well, I have a project in Asp.NET MVC as follows: Home Model public class Objeto { public Objeto() { } public Objeto(string nome, double valor, double perc...
asked by 13.04.2015 / 17:03
1
answer

jQuery autocomplete of multiple words

Using the following javascript code $.getJSON("../JSON/TAGS.json", function(tags) { var tagsArray = []; for(var i=0; i<tags.length; i++){ tagsArray.push(tags[i].tag); } function split( val ) { return val.split( / \s*/ ); }...
asked by 06.01.2015 / 12:18
1
answer

Div Image Placement with drag and drop

Good morning, what I'm trying to do is a system where the user uploads an image and has a preview of how the image will be positioned in div and can move to the position you think is best. It's basically the same thing as the Facebook...
asked by 30.01.2015 / 16:15
1
answer

Problems with $ (''). height ();

My site is basically like this: img http://www.mediafire.com/convkey/3266/gr3pg3kqokxkkduzg.jpg I make the following script to keep block #right from height of #left: $('#right').height($('#left').height()); But when I put some cont...
asked by 25.01.2015 / 14:39
1
answer

Prevent the event from being triggered 2 times

When I ask to open a modal for the first time it does the actions correctly, but when I close and open the modal again it performs the function twice, how do I avoid this? function acoesModal(){ $('div#fixa').css('z-index', '0'); $...
asked by 22.01.2015 / 13:45
1
answer

Leave centered bullets and right and left navigation arrows on slider

I'm trying unsuccessfully to leave the navigation bullets centralized and the navigation arrows to the left and right side of the slider, however it changes the settings of the css I do not succeed. The site is this: Developing site For...
asked by 26.01.2015 / 13:58
3
answers

How to execute a jquery / javascript function only on page load and avoid postback?

Hello. I have a function to "create" a Accordion of jQuery UI in my div . It turns out that inside this my div there are several controls that make post on the page. What I want is that by making a post on the page, my accordion...
asked by 30.12.2014 / 17:10
1
answer

How to know how many pixels has a div with height: 100%? And how can I subtract a certain value from this total of pixels and apply what's left of the other div

I'm not sure how I can do this, but in my case I'd like to subtract 80 pixels from a div that has height:100% . I've seen how to get the height of a div, but I'd like to do something that I think is more complex!
asked by 03.01.2015 / 05:21
1
answer

How to make a for inside an html + = of Ajax?

Hello everyone, I have a problem and I wanted help. How can I make a for within html += of ajax? JS: $('.requerAjax').click(function(e) { e.preventDefault(); var mes = $(this).attr('rel'); $.ajax({ type:...
asked by 03.01.2015 / 00:10
1
answer

JqGrid. onSelectRow - Get field id and pass with url

Oops, I have the following code: // jqGrid // $grid->('onSelectRow', "fnHistoricoPessoa"); // fim jqGrid// // função para onSelectRow// function fnHistoricoPessoa(){ var kwGrid = $("#kwGrid").jqGrid('getGridParam', 'selrow'); if(k...
asked by 18.03.2015 / 19:14