Questions tagged as 'javascript'

4
answers

Problem with Image Interchange by User Interaction in Javascript

I am developing a code for user interaction, in which he should light a lamp by hovering his mouse over it, and break it down with click on it. The iteration of hover is normally occurring, but click does not work in IE...
asked by 10.09.2015 / 21:53
3
answers

How to install Angular JS modules? [closed]

I'm creating an application in spring + angular, and for reasons I can not install the angular modules in the project folder by the command bower install ... how can I install these modules manually and how do I use it?     
asked by 08.09.2015 / 13:41
1
answer

Compare YouTube and Facebook dates

Through the YT API, I get the date of the video in this format (UTC): publishedAt: "2015-09-17T00:01:56.000Z" And on Facebook, inspecting the source code I see that they use: <abbr title="Quinta, 17 de setembro de 2015 às 06:59" data-u...
asked by 17.09.2015 / 13:11
2
answers

Get value of a TextBox on each line inside the table with JQuery

I have the code below that handle should get the values of a TexBox inside a table that is generated dynamically by another JQuery function. The problem is that this code always brings the TextBox value of the first line. $('#tbl').on('focusou...
asked by 24.10.2014 / 20:10
1
answer

Data grid with 0 function in the rest PHP or PHP + Ajax

I'm an Intermediate Programmer, and I'm in an Impasse, I need to display some items and what I need to fill out a prefect template. Let's explain the Logic okay? In My Table (I'll use examples ok?) ITEMS, you can add a maximum of 20 ITEMS (Up...
asked by 25.10.2014 / 22:00
2
answers

Submit Link Information for a Modal

I'm developing using Bootstrap and ASP.NET MVC. I am using a Table where on each line I have the Edit and Delete buttons. I'm using the following code: <div class="container"> @foreach (var item in Model.REGISTRO_PERGUNTAS)...
asked by 30.10.2014 / 21:04
2
answers

Get the value of a TD tag by jquery and send to method in Controller

How do I get the value of a tag when I double-click it and get that value and move to a method in my controller. The double click function is working. $('#nmUsuario').on("dblclick", '.clique', function() { CarregaDados(); }) Where nmUsu...
asked by 23.10.2014 / 12:45
1
answer

Using confirm () javascript with checkbox

I have this line that is inside a foreach: <input type="checkbox" id="idAprovacao" name="idAprovacao" onclick="atualizaSituacao(<?php echo $resulta->id_aprovacao;?>);" <?php echo ($resulta->in_situacao == "4") ? "checked dis...
asked by 03.10.2014 / 21:45
2
answers

"DD / MM / YYYY - HH: SS" to "milliseconds"

I'm using Bootstrap's datetimepicker f and need to convert the result to milliseconds. Currently the result is: "dd / mm / yyyy - hh: ss" and need it in "milliseconds". What's the best way?     
asked by 04.10.2014 / 23:24
1
answer

Capture message update automatically on the front end

I would like to know how the process of capturing post and post updates (backend) is automatically done through the font-end (like the one performed by facebook). Anyone have an idea? Is this done through threads in js?     
asked by 10.10.2014 / 17:06