I have this code in JavaScript, getting the values of some datepicker and it works correctly:
var fecha_ini = $('.fecha_ini').val();
var fecha_ini_dia = fecha_ini.substring(0,2);
var fecha_ini_mes = fecha_ini.substring(3,5);
var fecha_ini_anio...
I'm using the Fancygrid.com Framework, and I need to validate in a Field to accept only texts and period, I'll explain. I have a field called user and the structure is: juan.cruz As you can see the field validation must accept letters and th...
I am in need of a code to validate that in an input I only accept one word "item" + numbers, that is, I only accept those filters, and be able to send an alert to a user that enters that input.
example:
item123
I'm good at learning how to program and writing a code I had a very curious problem I try to make the scroll go slow when I click an anchor in the menu but it did not work when I wrote my line (comment below on the code), searching the internet...
I have the following problem, when compiling my code it sends me the following error:
ERROR in src / app
/components/login/login.component.ts(9,2): TS1005 error: ',' expected.
I've seen several posts and I've done what they say but...
I need to send an email for one form and another email for another form ie I have two forms in the same view, The first form is called user has the following fields:
name
mail
subject
comment
When the user sends the message, an e-m...
I have an object in Javascript with different attributes, some of them are arrays .
I would like to know if there is any function of any kind style. toString() to return a text string with all the data.
Example:
let p...
I would like to upload the selected images through a multiple input type = 'file' to a container in real time, that is, I select a series of images and once accepted the samples in a modal window.
Googleando I have found code, which after mod...
I have two functions
First function:
sendRequest: function () {
jQuery.ajax({
type: 'POST',
url: xtremeSearchUrl,
dataType: 'json',
async: true,
data: JSON.stringify(data),
success: function...
Good, I have this code that I must implement in a form ... What I need to do with it is that the user can mark the location of his home to later save it in the database ... My problem is that no I can capture when the pointer / click on the map...