Questions tagged as 'jquery'

1
answer

Update amount of like / deslike with JQuery

I'm trying to update the value of a span element (increase or decrease) whenever the like button is clicked. Important: The following code creates another element only with the id #unlikeBtn instead of #likeBtn when the button is clicked....
asked by 13.03.2017 / 15:35
1
answer

Insert more values inside a variable [closed]

var $e = $(e.currentTarget); var eData = $e.data(); var personagem = this.model.get('personagens').get({'id': eData.personagemId}); var candidatos = personagem.get('candidatos'); I need to put...
asked by 21.08.2014 / 16:11
2
answers

jQuery scroll does not work in chrome do not go back to previous page

I have this code that works fine (just scroll down) in firefox and chrome, but if you then load the browser 'back' (chrome) it does trigger in> load page without me doing scroll . In Html I have: '<body onunload="">...' js.js $(...
asked by 04.09.2014 / 17:48
5
answers

Popup with AJAX and jQuery

I need to open a popup with the information in my database when I click on a certain item in a grid that I'm displaying on the screen. How do I display this popup ?     
asked by 07.05.2014 / 15:33
1
answer

"Invalid App Id" error on "Like" button Facebook

I'm doing a blog and I'm putting the like button. The code I'm using is: This is at the top of the page: <script> (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) r...
asked by 07.05.2014 / 01:30
1
answer

unrecognized expression: a [href = #!]

In the URL, if I only leave dominio.com.br the site works normally, if I put dominio.com.br/# it still works too, but by putting dominio.com.br/#! the site returns me this error   Uncaught Error: Syntax error, unrecognize...
asked by 12.05.2014 / 22:10
1
answer

Portuguese language characters in Jquery [duplicate]

I understand little of Html, javaScript, etc., I needed a window similar to javascript alert, but with different font size, I searched and discovered the custom windows of JQuery, I downloaded a window called Confirm Override : link ), which...
asked by 27.02.2014 / 21:32
1
answer

Modify site from 1290px to 960px [duplicate]

I've finished the front end of a site, where the maximum margins of the elements go up to 1290px. Now, I have the layout to do it in 960px. Obviously I will reuse classes. I could use @media , but would have serious problems with Int...
asked by 03.04.2014 / 16:19
1
answer

How to preload large images? [duplicate]

I have a background of 2mb to do preload and I do not know how to do it ... I already tried the basics, for example: $ ("#image"). load (function () { }     
asked by 10.04.2014 / 21:42
1
answer

Redirect page through the link entered in the url

I need a page that when I load it check the link typed for example: www.test.com/myphp.php=10 if given number it redirects to another page, for example: found www.test. com / myphp.php = 10 redirects to www.test.com/news/10.php. How can I do thi...
asked by 22.07.2016 / 21:21