Questions tagged as 'javascript'

0
answers

Error with the value of the input: php

I'm using datedropper , and I have a form editform.php but when I want to get the value of the input does not read the data of the bd but another date <div class="col-12 mdl-textfield mdl-js-textfield mdl-textfield--floating-l...
asked by 27.09.2017 / 00:32
2
answers

Get Index of an object and Delete In Vue Component

This is my code based on this link But I do not get the index of the for cycle, Basically I need a button to delete the element that is clicked on. The removeChild method does not work. ItemClean.vue <template> <...
asked by 27.09.2017 / 04:21
2
answers

Center the td of html in a table [duplicated]

<!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> tr{ text-align: center; background-color: red; } td{ padding: 50px...
asked by 03.10.2017 / 23:07
1
answer

error when activating a script with formsubmit

The following is the email I received when I failed to complete the form for the first time. Your script, Query and Procedures Form, has not been executed correctly. Here is a summary of the errors. To configure the triggers for the script or...
asked by 18.10.2017 / 16:12
0
answers

String "ISO8601 date string" to PHP

Good morning. I'm working with FullCalendar. When I create an event, it returns a string "ISO8601 date string", I would like to translate it to PHP (date ("Y-m-d H: i: s")) I know that to convert to an ISO8601 cademna is date ("c", strotime (...
asked by 18.10.2017 / 11:30
1
answer

How to display a PHP list / array in a javascript alert (AlertifyJS)?

This is my question, because in this example I'm doing an array with javacript, where I actually do that array in a sql query (PDO) and send it in a onclick='verProveedores(<?php echo json_encode($datos);?>)'; Until there is no prob...
asked by 20.09.2017 / 20:59
1
answer

Javascript check random vector

Greetings, I created a function in Js that when the user enters the numbers works perfectly , but when that function is called but instead of entering the numbers, randomly generated does not work, it comes out an "undefined": function comen...
asked by 23.09.2017 / 00:36
1
answer

Go from one view to another, and then return to the initial view without losing the state that you had

I want to know if there is anything that I can take advantage of backbone that allows me to pass information from one view to another and then return to the view that initialized the second, without losing the data loaded. This would be: F...
asked by 20.09.2017 / 17:08
1
answer

Update $ scope with data from a directive

I have the following directive that I have taken from google (to create a chronometer): .directive('cronometro', function () { var stopWatch = function(elem, options, attrs) { var hora = 0; if (attrs.start == 0) {...
asked by 20.09.2017 / 17:17
1
answer

Create modal with javascript for each image that exists?

Good afternoon. I am trying to do what is mentioned in the title of this post, only using javascript, create a popup window of the type 'modal' for each IMG tag that exists. In this way, it would be avoided to write by hand each line of htm...
asked by 20.09.2017 / 19:25