Questions tagged as 'javascript'

2
answers

How to do when I click button, open link in another window

For example this image below, I clicked the button and opened it in a small window!     
asked by 09.10.2016 / 17:36
2
answers

Pass array of objects via javascript to the controller

How can I pass an array of javascript objects to the controller? JQUERY var array = []; var $linhas = $("#vendaTabela tbody > tr"); $linhas.each(function () { var x = { id: $(".codigo",this).text(), quantidade: $(".quantidad...
asked by 06.03.2015 / 16:18
1
answer

Filter data from a table via a DropDown

I have a table returning the values paid by taxpayers. However I have to return all the data (since the application sums field by field). So far so good. But to show the user, I need to filter the table by date (year), for the user to view th...
asked by 06.03.2015 / 19:35
1
answer

How to manipulate the DOM through an extension?

I'm starting to work with extensions in Google Chrome and after some time reading tutorials I have so far been unable to access anything in the DOM of the page. I need to modify the CSS of the page or execute some script inside it. Could anyone...
asked by 15.08.2015 / 17:22
1
answer

Change image in javascript after click

How do I change an image using JavaScript? I made this code here but it did not work. HTML file <a href="passo1.html" target="janela"> <img id="passo1" class="passo" src="img/passo_color1.png" style="float:left"> &...
asked by 08.08.2015 / 05:34
1
answer

Using Timezones with Moment plugin

I'm having trouble using Moment's Timezones plugin, specifically, I'm not able to load the data. I need to load the timezones from London and Sao Paulo, but I could not quite understand that Documentation Format : moment.tz.add([ 'Ameri...
asked by 27.04.2015 / 22:13
2
answers

How to send object by radiobutton?

I have a radiobutton: <input type='radio' onclick='clickRadioButton(this)' value='new object { nome = #: nome #}' /> It is returning a string, but I want an object with the name property.     
asked by 27.04.2015 / 14:42
1
answer

JavaScript image does not appear

Why are the images not showing up when I click the button? I called them via JavaScript, it does part of a button that serves to mutate and dismantle my video. When I click the image does not appear, follow the code. HTML: <div id="butto...
asked by 27.04.2015 / 21:40
1
answer

setInterval with auto-clearInterval

I'm creating a way to extract data from Twitter without being quoted with their API values. The best way I found it was by using the widget that they make available (and that has no quota) and from their upload I "pick up the information" and tr...
asked by 18.02.2015 / 01:47
1
answer

Javascript Player disappears on mobile

Hello, I'm developing a javascript player when I run it on PC it works normal, but when I'm on the Android phone it does not work, it simply disappears, now when I try on Windows Phone it works normally: function playSong(song, id) { /...
asked by 14.02.2015 / 14:01