Questions tagged as 'jquery'

2
answers

Does not show all records when performing an SQL SERVER query through AJAX

I have a problem getting all the records of a query in SQL SERVER through PHP and AJAX. When I send POST by the classic method of the form (submit), all records are displayed without any problem. However, when doing the query by mean...
asked by 02.10.2018 / 01:07
2
answers

How to pass the content of one textarea, to another from another page using JavaScript or Jquery?

I have a page called form.aspx , which contains a form with the following code: <textarea name="summernote3" id="summernote" runat="server"></textarea> <img id="Img2" alt="Editar en pantalla Completa" src="../imagenes/botones/e...
asked by 08.01.2016 / 18:43
4
answers

Passing GTM 0 to local date

I want to pass a date that is in GTM0 to my local time, according to momentjs it's from this way , but I can not convert the date to my local time. moment.locale('es'); let fecha = '2018-12-07 22:56:48'; let fecha_origin = mom...
asked by 08.12.2018 / 03:32
5
answers

Transform a given date in yyyy-mm-dd format to string in javaScript?

I capture a date in yyy-mm-dd (2016-06-30) format and I want to give it a more friendly format for the user, I look for the following: 2016-06-30 = 6 de Junio del 2016 2016-06-30 = Junio (Mostrar el mes dada la fecha) 2016-06-30 = Juev...
asked by 15.09.2016 / 17:49
2
answers

Add divs around another div

I have the following: * { font-family: Arial, Helvetica, sans-serif; } .x-y-center { display: flex !important; justify-content: center !important; align-items: center !important; text-align: center !important; } .g...
asked by 07.04.2017 / 18:33
2
answers

How to search in datatable and get only the cell searched?

I want to search your search engine and get only the cell you are looking for, not the whole row, what I want to achieve is equal to this link the list of users is in a table. $(document).ready(function() { var table = $('#ex...
asked by 26.01.2017 / 04:41
3
answers

How to avoid page redirection in an alert with Javascript and jQuery?

When I show a JS alert, it redirects me to the start of my page and all the information in a form is lost and what I want is to show the alert but not redirect or recharge. How can I avoid redirecting, after accepting the alert ?, the alert is t...
asked by 10.06.2016 / 23:52
2
answers

insert image with ajax

Good, I need to know how to insert an image into my database with ajax. Some time ago I learned to insert a php image in a conventional way. But now I need to do it through AJAX, and it's giving me problems. Assuming this is my form: Ing...
asked by 25.11.2016 / 11:18
4
answers

Validate a Checkbox with JQuery

I would like to know how to validate a Checkbox with JQuery in a small form. <form action=""> <a>Correo: </a> <input type="email" name="correo"> <br> <a>Telefono: </a>...
asked by 31.03.2016 / 21:19
2
answers

Fade only the background of an HTML element

I want the text not to be lost, only the red background color should be lost. Here my code: $('#confirmacion').fadeIn(9500); $('#confirmacion').fadeOut(9500); #confirmacion{ background-color: red; color: #000; height: 2em;...
asked by 23.01.2017 / 05:56