Questions tagged as 'jquery'

1
answer

Add column category

Hello, I have this code and I would like to add only the "CREDIT" category to someone from a force to my friend here. $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name...
asked by 06.05.2015 / 05:40
2
answers

Share of virtual store product to Facebook

I have a problem to share a product from a virtual store to facebook. I'm putting meta tags on the product page: <meta property='og:title'... <meta property='og:url' ... <meta property='og:site_name' ... <meta property='og:type' co...
asked by 06.05.2015 / 19:21
1
answer

Fill in several input fields with values from other fields

I have three rows with four fields input of type time , and I want to create a button so that the two rows below can be filled equal to the first one. I'm following this SOen response , and adapted to catch by classe inst...
asked by 07.05.2015 / 21:14
2
answers

HTML Audio - How to go to the next song automatically in a playlist with jQuery

I'm creating a playlist with HTML5 and jQuery. My markup: <ol class="playlist"> <li> audio 1 <audio class="track" preload="none"> <source src="<?php echo $siteroot; ?>/audio/joao/docevapor/audio1.ogg"...
asked by 29.05.2015 / 17:56
1
answer

How do I call the same ActionResult more than 1 time to refresh the page?

I need to call ActionResult each time I select a new record in the DropDownList by calling only once when the page loads. No Controller private string PegarCaminhoImagem(Int16 controle) { sistema_mobileEntities dao = new...
asked by 18.04.2015 / 01:01
1
answer

How to make an element go back as it was after an action with jquery [closed]

I have a li and by css I left it as a square and I put an image in the background with the css, when my user clicks this image leaves and enters a text and when he clicks the image again, I would like to know how I make it to return to be as it...
asked by 03.07.2015 / 16:27
1
answer

scroll with position: fixed losing the right margin

When I scroll down, the chat # div will get everything fixed. But the problem is that the layout breaks down the right margin. How can I resolve this problem? $(document).ready(function() { var nav = $('#chat'); $(window).scr...
asked by 04.07.2015 / 20:28
1
answer

Flag characters that exceed limit in textarea as in Twitter

I have this javascript function that counts characters typed in textarea and shows the user: function countPublishCharactersAbout(val) { var len = val.value.length; var count = 240 - len; if (count < 0) { $('#abo...
asked by 10.05.2015 / 23:41
1
answer

How to insert Jquery using EmberJs

I'm building a web app with Ember.js (simple) and I'm trying to use some animation functions with Jquey, there's the code: require(['../js/bootstrap'], function () { require([ 'jquery', 'handlebars', 'embertemplatecompiler...
asked by 31.03.2015 / 18:41
2
answers

My js file is not loading

Studying Ajax with JQuery, in Mauricio Samy Silva's book is not working with me. I made a js file off and now I can not load it. What I did think is not wrong. I debugged the browser with F12 and I do not see any js error. I put several alerts a...
asked by 09.06.2015 / 16:30