Questions tagged as 'javascript'

1
answer

How to change the value of a work in asp.net via javascript?

I need to change the text of a label side by Javascript and then reload the page Follow the label code <asp:Label runat="server" ID="ValorMax" Visible="false">10</asp:Label> You need to put this javascript butto...
asked by 08.10.2017 / 23:15
2
answers

How to update the collection of a service by index calling a second service?

In calling a service within my controller I load a few data, and as soon as this data is loaded, on the screen, the complete data for a given filtered item must come in, requests are occurring, the second one little slower, exactly as it should...
asked by 09.10.2017 / 22:08
1
answer

CodeIgniter enjoy publication and show how tanned

I'm developing a publishing, tanning and rewrite script, but when I put the option to be tanned my error starts. SE ( ID_PERFIL = ID_PERFIL e ID_PUBLICACAO= ID_PUBLICACAO ) { CURTIU } SE NAO { CURTIR } But when I make this request in the r...
asked by 09.10.2017 / 00:07
0
answers

AngularJS - Json in LocalStorage does not update Array

I have a form in a View that should update the "color" property of an Array. This array contains 5 objects, each one serving to set the color of an element of another View (so the option to use localStorage, since I can not use any access to the...
asked by 09.10.2017 / 14:06
0
answers

Display a list of labels when searching for a particular place

I'm having trouble performing the following task: I'm developing a javascript map using google maps api, this map consumes a json with several dealers, and at the same time, I should display a list (below the map) with these same dealers, but...
asked by 05.10.2017 / 20:23
0
answers

Download file with "4 connections" using AJAX?

I'm creating an extension for Google Chrome to streamline the file download, using multiple connections. I know that it is possible after youtube uses similar method, grabbing the video file and creating a main buffer. function load(url, sd)...
asked by 06.10.2017 / 13:36
1
answer

Using eval to transform Razor to Javascript

Before criticizing the use of eval , I read and recommend this answer . Consider the following context: Home C # Code (Razor): var teste = new { prop1 = 123, prop2 = "minha mãe disse 'Háaaaaa!'" }; var listTeste = new object...
asked by 06.10.2017 / 00:15
1
answer

How to organize pages with a table in Jquery

I have the following each that returns all records of clients inside a table, and that works perfectly: $.each(data, function(key,item) { id_cliente = item.id; nome_cliente = item.nome; data_nascimento_cliente = formataDataSQL(...
asked by 06.10.2017 / 14:28
3
answers

dynamic change of css via jQuery Is it possible?

I have the following structure: var prop = new Array(); prop[0] = "margin : auto"; prop[1] = "padding : 5px"; prop[2] = "border : none"; ... $(elemento).css({ for(i=0; i< prop; i++) { /*Aqui vão serem feitos os laços do for e vão...
asked by 27.10.2017 / 17:00
0
answers

Is it possible to create one-to-many streaming with webRTC? [closed]

I need to develop a tool that allows one to live from a single pc to several others in a virtual room. For this I choose to use the webRTC link In a simple way I can already make the pc get the video and the audio. but I can not transmit them....
asked by 27.10.2017 / 14:03