Questions tagged as 'javascript'

0
answers

JavaScript validation, HTML form

I have this function to validate a input type="text" of a form. But I get the error:    Can not read property 'value' of null function compruebaCodigo() { //Que el código tiene dos letras. var campoCodigo = document.getElem...
asked by 04.12.2017 / 18:31
1
answer

how to create a global variable and store values in an ajax request [duplicated]

How can I save the value of my AJAX response in this variable as the code shows but it does not work for me var resp = ""; var UpdateComponent = function(){ var rute__ = "http://localhost/comunity/foro/getPostCurrent/",...
asked by 13.12.2017 / 20:10
0
answers

Can a DataTable with a jquery-ui style be included in a Bootstrap template?

My question is this:    Can a DataTable with style% of JQuery-ui be included in a template of Bootstrap without the libraries of Bootstrap and JQuery-ui causing conflict?     
asked by 13.12.2017 / 15:30
1
answer

Delete record with javascript function

Good, what happens is that I have a table, where I have this link to delete a record by php. <a href="sqlEliminarAlumno.php?txtid='.$rut_alumno.'" onclick="confirmDel()">Eliminar</a> and I'm trying to delete the record by callin...
asked by 04.12.2017 / 17:14
1
answer

Do not load the actual values I choose from a select laravel - js

I have a select that when selecting I bring some information from the database by means of an ajax, so everything is normal, and I have the following function in javascript that executes certain operations with that data based on the selection I...
asked by 04.12.2017 / 07:01
2
answers

how to read javascript variable in another php

Hi, I'm doing a project in php and I would like to know how you can use the value of a variable that is inside a script in another php page. This is the script: <script language="javascript" src="jquery-3.2.1.min.js"></script> &...
asked by 02.12.2017 / 13:18
1
answer

Put values in a bootstrap table and apply the bootstrap DataTable Functions to the added values

I need to put values from a database into a Bootstrap table of type DataTable . This is my table <div class="container"> <h3>Lista de Usuários</h3> <table id="example" class="display" cellspacing="0" width="100%">...
asked by 02.12.2017 / 12:27
1
answer

How to use the $ emit function in Vue js

I am using as a library Vue.js I have the case of using a component that calls other components the question is how can I issue a function when doing an action within my child component. example:   that by making click in the child c...
asked by 02.12.2017 / 12:48
2
answers

Integrate PHP to ElectronJS

Greetings community. My question in question comes because I want to start developing a desktop application with ElectronJS, my question is if there is any way to integrate PHP as a programming language or just use NodeJS. If any of you can clar...
asked by 03.12.2017 / 20:48
0
answers

Refactor Javascript

I have to refactor a web app legacy. They use modules in this way: myApp = (function(){})(); I understand that in this way the module is used as a space name, since even to use another module they do this: myApp = (function(){ otroModulo....
asked by 01.12.2017 / 12:33