Questions tagged as 'javascript'

0
answers

Button to delete rows in a table made in mysql / php

I would like to create a button that deletes rows from a table, the html part and css are ready, but javascript does not work. Here I leave my codes. <?php //Archivo de conexion include_once("connection.php"); $sql = "SELECT * FROM 'res...
asked by 30.10.2018 / 12:56
0
answers

Real-time search engine

Hi, I'm doing a search in real time in codeigniter, jquery, json and mysql. between the controller and the model I have communication, it brings me the data, but in object. I think the problem is in sending the data to the array in the js, some...
asked by 31.10.2018 / 03:50
1
answer

how can I compare text and paragraphs and javascript

I need to compare a word that is inside a variable, with the content of a paragraph, to be able to change the color .. I do not have even the palest idea of how it is done ... an example would be var elemento = $('h1.ht-main-title').find('span...
asked by 15.11.2018 / 00:24
1
answer

Pass two variables by href with javascript

I build a table with php and mysql $consulta = "SELECT id_inspirador, id_user, nombre, ap_paterno, ap_materno, municipio FROM inspirador WHERE status_aprobacion is null order by fecha_capa desc"; $registro = mysqli_query($con, $consulta);...
asked by 16.11.2018 / 18:08
1
answer

How to interact with an iframe

Good day, evenings or evenings, I have the doubt of whether it is possible to run functions from an iframe, the situation is the following, in my work we provide a chat service but the page where we attend the chats has 2 windows to attend the c...
asked by 09.10.2018 / 21:29
0
answers

Create a dynamic selection in laravel 5.7 (country - city) [closed]

hi esoty just starting with laravel I have two tables country and city related correctly, I want to create a select in my form that the country select me shows the cities that have associated in another select. thank you very much     
asked by 09.10.2018 / 11:14
1
answer

Materialize CSS - Carousel inside Collapsible

Using Materialize CSS v1.0.0 (without using JQuery), inserting a Carousel component into a Collapsible does not get the behavior expected (you can not see the image strip and the slide effect is damaged). <!DOCTYPE html> <html&g...
asked by 17.10.2018 / 13:08
1
answer

Slide with javascript load bar

I have a gallery of images that change with the buttons but I need that as the images progress the loading bar increases or decreases depending on the direction you want, so far I carry the following code but I do not know how to do it that the...
asked by 18.10.2018 / 21:12
1
answer

Spread operator without mutating elements ES6

I have to create a function that creates a new array based on the previous two but without mutating them. function reverse(arr1, arr2) { const arr3 = [...arr2, ...arr1]; return arr3; } The problem is the following const arr1 = [1, 2];...
asked by 27.09.2018 / 20:50
0
answers

AngularFireStorage error [object object]

when declaring the variable private in the constructor, this throws me the error and does not load the view to me import { Component } from '@angular/core'; import {incidenciasService} from '../service/incidencias.service'; import { AngularFir...
asked by 26.09.2018 / 19:26