Questions tagged as 'javascript'

0
answers

Pass a string obtained with javascript to php

I have a processing Sketch embedded in an html, this through a JavaScript request, it gives me a string "serie=11&temp=22" , I need to send that to a php file within the same directory. I can not get anything sent. <!DOCTYPE ht...
asked by 16.08.2018 / 21:42
0
answers

execute javascript script inside a div loaded with ajax

I have an index.php which contains a div called content in which I upload another file listarusuarios.php with the following script function ajaxFunction() { var xmlHttp; try { xmlHttp=new XMLHttpRequest(); return xmlHttp; } catch (...
asked by 17.08.2018 / 18:06
1
answer

Problem with axes vue and php: Undefined Index

I have a very simple code, I'm using PHP VueJs and axios for Ajax requests I have a button that sends data by ajax to a php file per post but it does not recognize post data, that I infer from this error:    Notice: Undefined index: email...
asked by 16.08.2018 / 06:01
1
answer

Print Javascript text string in html

I have this problem: I define a text string in js: htmo = ""; html += "<table class= "+" table table-responsive table-bordered"; but the browser interprets it as follows <table class="table" table-responsive="" table-bordered="">...
asked by 04.07.2018 / 12:10
2
answers

Redirect to an action or action Javascript PHP

I have this doubt, I want to make a validation if the condition is met, show me an alert and redirect me to a specific page but since I am working in MVC, I must do it through an action: the code I have is the next: <script type="text...
asked by 04.07.2018 / 13:10
2
answers

How to achieve an autocompletion in dynamic fields

Some time ago I have been looking for a solution to this problem, I have found many videotutorials and pages that report on the subject. But as much as I've tried, I can not find the solution to the problem. The idea is that you can generate...
asked by 02.07.2018 / 01:14
1
answer

How to receive data from php to ajax?

I am practicing PHP POO with javascript and ajax, I have my code ready with the sql query: public function SessionStart() { $conexion = $this->conectar(); $sql = "SELECT * FROM usuarios WHERE usuario = ? AND pass = ?";...
asked by 02.07.2018 / 03:47
0
answers

global variable scope within a promise

I have this snippet of code in node.js, similar to javascript, well what happens is that it uses asynchronous methods to perform a validation of fields that is entered through a csv file, therefore I must analyze value by value of the fix _da...
asked by 14.07.2018 / 22:46
2
answers

How to order an area by means of your property in javascript?

var apartamentos = [{ fecha_ingreso: "10/10/11", tipo_inmueble:"En venta", precio: "1000", titulo: "Edificio", metraje: 3, ubicacion: '14 Avenida 16-01 Zona 10. Guatemala, Guatemala', zona: "Zona 3", habitaciones: 3, parqu...
asked by 08.06.2018 / 21:49
0
answers

How can I solve this problem in Spring boot + JPA + Bootstrap + mysql

Greetings community I have the following code and I generate the error if someone of the community is aware that the error is due thank you very much on the Controller. @RequestMapping(value="/agregar",method=RequestMethod.GET) publ...
asked by 24.06.2018 / 20:44