Questions tagged as 'javascript'

1
answer

Angular, when loading another page with ajax inside the page does not allow me to use angular

I have a page where I use a lumx framework that is based on angular, everything works perfect. The problem is that in one of the options I charge a div with content from another page through ajax. And it is on that page that I can not use the fr...
asked by 08.05.2018 / 17:45
2
answers

How to know the value of an array

I recently left a code about how to create dynamic ids in a while cycle. Now I have this other doubt. <?php $i=1; $n=1 while($fila=$consulta->fetch(PDO::FETCH_ASSOC)) { $this->empleados[]=$filas; $Filas = consult...
asked by 08.05.2018 / 14:21
1
answer

json to graph

I am realizing a graph in real time using the highcharts library only that I need that in the axis of and it appears the obtaining of data of a query to a database so that it is visualized in this graph I show them the code that I have <?ph...
asked by 07.05.2018 / 18:32
1
answer

Listen to new changes from the database with laravel / pusher

I am using this example that gives me the official pusher page, web notifications using pusher with laravel This will connect to a postgres database and I will extract the data from there, for example, user and message ... I need the notifi...
asked by 07.05.2018 / 18:57
0
answers

Memorama JS, change shifts.

I am doing a Memorama, it works well, two cards are uncovered if they are the same, they remain uncovered, otherwise 3 seconds pass and they are hidden again. But as I do, if Player 1, make no mistake and add the pairs of Player 1, in the cor...
asked by 13.05.2018 / 21:32
0
answers

problem with php extensions in nodejs

I just started in the world of websockets, my project is pure php I'm trying to integrate nodejs in my application by the question of websockets so I have some doubts, I've been reading and practicing and I was developing in small and simple cha...
asked by 13.05.2018 / 23:23
1
answer

extract function variable within JavaScript call

I have a call with JavaScript and I want to manipulate this data further in other functions, as I could do .. this is an example of my code ... $.get("https://api.test.com/", function (data) { variableGlobal = data[0].one; }, "json"); also...
asked by 06.05.2018 / 01:52
0
answers

Inspector items, update changes

I have a registration form, I use the Semantic framework, and through Jquery I am responsible for making form validations. (Even so, when the whole query is sent to PHP, I'll do the validations again this time through a server.) This is the f...
asked by 06.05.2018 / 06:21
1
answer

do search with Django and JQuery

I'm trying to create a product search engine my model is this class Producto(models.Model): nombre = models.CharField(max_length=50, null=False, blank=False) categoria = models.ForeignKey(Categoria, null=False, blank=False, on_delete=models.CA...
asked by 06.05.2018 / 05:51
0
answers

Javascript does not work in the "create" of CRUD in Laravel 5.5

I have the following structure for the views of a CRUD of categories: I have javascript libraries in the app view that is in the layouts folder. In all other routes work perfectly. When I enter the category index, the javascript continu...
asked by 07.05.2018 / 05:48