Questions tagged as 'javascript'

1
answer

Error in DatePicker JQueryUI in View

In my .Net MVC project, I can not get a JavaScript result that is in view @using Forte.Rastreador.ViewModels @model SuperViewModel <script src="~/Scripts/jquery-ui-1.8.24.min.js"></script> <script type="text/javascript"...
asked by 06.02.2015 / 17:22
1
answer

Sort by date

Look, is it possible to sort a table by date in javascript, symfony2 or jquery? I have a table with several data and records and I would like to sort the records by date.     
asked by 09.02.2015 / 17:30
1
answer

String for HTML

Good afternoon, I'm not sure if this is the most appropriate title but it's the following ... I'm using Meteor and mongodb. I have 2 input, one where I type the name of the website and another that I type the website "www.example.com", whi...
asked by 10.04.2015 / 21:12
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
2
answers

QPX Express API - List of flights

I'm trying to use the QPX Express API to fetch list of flights, in the documentation I have how to pass the arguments, but I do not know how to use, for example: Documentation:    The simplest way to try out this API is to send it to POST...
asked by 22.01.2015 / 16:46
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
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

Get value expression

In my javascript code I use this expression to make a calculation to obtain value of a graph with the position of the mouse (posY). 460 is the position of my axis, and the maximum and minimum values of the graph of the y-axis. value = ((460 -...
asked by 30.12.2014 / 11:10
1
answer

ajax function does not work

I'm using this little function to run my ajax without mimimi, see var HTTP = 'http://127.0.0.1/'; function ajax(to, data) { $.ajax({ type: "POST", url: (HTTP + to), data: data, cache: false, success: function(output) { alert(output); }...
asked by 22.03.2015 / 04:20