Questions tagged as 'javascript'

1
answer

Problems with setInterval

Next, my problem is like this, I'm doing an inbox, so I need to update every 5 seconds of the messages. So far so good. In the div that loads the messages I put the following script: function loadInbox1(id) { $("#load-inbox-1").html("<i cl...
asked by 16.12.2015 / 20:21
1
answer

How to be notified when there are changes in the grid - AngulasJs ui-grid

Is there any way to know if the grid has finished updating lines, or even if it has finished loading them? I tried to do it this way: $scope.gridApi.core.on.filterChanged($scope, function() { console.log('filter changed'); $timeout(...
asked by 16.12.2015 / 12:30
1
answer

Capture index of dynamically created elements

I intend to create a seemingly simple function. My code is this: var coordenates = $(".coordenates"); var add = $('.add'); var remove = $('.remove'); var newCoordenate = '<div class="coordenates"><input type="text" />, <...
asked by 17.12.2015 / 02:06
1
answer

How to add the logo in the fixed menu after a certain scrolling on the page?

Like this site for example: After fifteen . Just like in the photo, I want the logo to come and from a certain scroll, the 'new' menu appears along with the photo. I do not know how to put the photo just in that scroll. Would I have to create t...
asked by 17.01.2016 / 10:28
1
answer

Clicking Link Inside Clickable DIV

In the code below you are demonstrating a% clickable% in case it is mobile . When full has an icon that appears within div when hovering the mouse, div . HTML <div class="item" data-filter="{!! $prod->id_categoria !!}"...
asked by 14.01.2016 / 12:59
1
answer

Check if text belongs to the element and not to the child

For example, in the structure below I have a div that has a text and another div that also has text. How can I capture or check if a text is a child direct from a tag, not a child of another child tag: console.log(document.qu...
asked by 21.08.2016 / 02:14
1
answer

Passing DataTime javascript to ASP.NET MVC Controller by Ajax

I'm having trouble passing javascript date to the Controller via ajax .. Model: public class ModelA{ .... [Required] DataType(DataType.Date)] DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")] Display(Name = "Data de Nascime...
asked by 31.08.2016 / 20:18
2
answers

Extract Posts from Feed Linkedin

I am researching in the LINKEDin documentation a way to extract the posts of a certain company. Is it possible to do this? I'm not finding methods. The closest I got was this link: link But it does not have anything like Feed, similar...
asked by 01.12.2015 / 11:34
1
answer

Graphics in JS, error inserting DB data

I have a huge problem at hand. I have some graphs in js , where I need the data entered in them to come from the database. But as js is built, I can not find any way to allocate the database data in the charts. However, it alread...
asked by 18.06.2016 / 14:47
2
answers

Request loop in AngularJS 2

I'm new to using AngularJs and decided to study based on a work project. My problem is this: I'm building a base project using AngularJs 2 to consume Wordpress ( WP ) data via WP REST API . In this API I look for a WP post (custo...
asked by 16.06.2016 / 20:37