Questions tagged as 'jquery'

1
answer

Routers backbones.js, problem with routes

I'm using the Backbone.js framework and I'm using the routers to create urls on my page. It turns out that I think I already have it, but when I open the Chrome console it says the following: backbone.js:7 Uncaught SyntaxError: Unexpect...
asked by 21.06.2016 / 13:58
2
answers

AJAX always executes status === 0

An AJAX error status always returns 0, inserts correctly in my BD but does not show success message, shows error message when status === 0, I execute 3 AJAX functions in a click event of a button, both functions that are invoked are executed cor...
asked by 27.06.2016 / 21:34
0
answers

execute Jquery code in AngularJS

I'm working with models and I have the following jQuery code: $('.progress-bar').each(function(i,e){ var $this = $(this); var $percent = $("<div class=\"percent\"></div>"); var $value = $this.attr("data-value"); $th...
asked by 23.09.2016 / 20:58
1
answer

Pre-populated database with SQLite plugin

I have the following problem: I am using SQLite Plugin: link in my hybrid App with cordova version: 6.1.1 I have a pre-populated bd located in the www folder of my project and the connection to my bd is like this: var _db = window.sqliteP...
asked by 10.05.2016 / 16:30
1
answer

From a list C # to: Json in jquery

I try to convert a list in c # ASP.NET to a Json through a Webmethod. I have a pie chart that thanks to a slide track bar the content could be modified. For this I need to send this data through a webmethod. It all starts when the user sli...
asked by 21.07.2016 / 15:26
1
answer

ASP.NET does not work jquery on my button

I have a button which I want to perform a preventdefault, the click function associated with that button does not work for me, to try I have the following: <script src="../js/jQuery-2.1.4.min.js" type="text/javascript"</script> <s...
asked by 20.07.2016 / 20:51
1
answer

Help with ajax and Django 1.9

I find myself doing a search engine with ajax and django that throws me results as soon as I write a word in the search engine but I have not been successful. supposedly I already have everything. in the console shows me this when I do a sear...
asked by 26.04.2016 / 01:43
2
answers

appendTo and prependTo with native javascript

I would like to know how I execute the functions of jQuery "appendTo" and "prependTo" with pure Javascript. I attach an example: $(document).ready(function(){ $('.item').appendTo('.contenedor'); }); .item{ border:1px solid #d3d3d...
asked by 21.11.2018 / 20:59
1
answer

Update variable each time that variable is updated

I am consulting data from an api using PHP, where I want the $ climate variable to be automatically changed, when it no longer has the same value as before, and that the climate variable is shown already updated, all this without updating the wh...
asked by 15.09.2018 / 05:05
1
answer

HTML elements on full screen video

It is a theoretical doubt. I have an inherited application, which among other things shows a video about an iframe of vimeo. And on the video are showing questions and buttons for the answer in the bottom by a div. All this works well while the...
asked by 07.06.2018 / 14:51