My problem is that when I want to transform a JS variable captured as a prompt to a PHP variable, the value obtained is always zero. I have used several forms in PHP and I always get an integer at the end but with zero value. here is the code:...
I need to overlap records in the same query of a table.
The records in the table are as follows:
|---|--------|----------------|------------|-----------------|----------------|-----------------|----------------|
|Id | Nombre | E-mail...
I'm doing a login for a project that needs design in css and js. The problem is that I have a code but it does not work, I would like you to help me with the following:
<html>
<head>
<meta http-equiv="Content-Type" c...
I have the following table:
var grid = new Datatable();
grid.init({
src: $("#datatable_cheques"),
onError: function(grid) {
toastr['error']('An error occurred while getting details list');
$('div.loading').remove();
}...
I am using the following code:
$('#formarea')[0].reset();
This allows me to reset a form but in some cases it does not do it with the data that has been written with ajax or elements added with ajax.
I also empty the display none fields,...
I'm working with ionic 2 and I have a variable that I want to access in an event in my html code, but by console I get it undefined, how do I get to reach that variable?
Code ts:
import { IonicPage, NavController, NavParams} from 'ionic-a...
I just integrated the datepicker into a project but it does not work correctly.
HTML
<div class="form-group">
<label>Date</label>
<p class="input-group">
<input typ...
Good, I really do not know how to ask the question, what happens to me is that when I try to upload a file with the tool, my browser has a memory crash, really do not explain it. Here is the function in Java Script.
$(function(){...
I am generating a button by code (I generate a button to delete, there is a button for each row of a dynamic table) and I need to generate an alert to prevent them from deleting information by mistake.
Button boton = new Button();
boton.Text...
I try to do an onclick on an anchor inside an append
and it does not work How can I solve this?
$(function(){
var weekday= ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
var months = ["Jan...