All Questions

1
answer

POST method to send form data with AJAX without JQUERY [duplicate]

Hi, I have a script in js that sends the form data from a page to the server and it works well with a Jquery function but I would like to be able to do it without the use of Jquery. script with jQuery (works) $("#contact-form").on("submit...
asked on 29.04.2018 / 11:09
5
answers

Order by not working - PHP

I have this table: I do this query to get sorted data and create a select : select id, nombre from usuarios_grupos ORDER BY 'nombre' ASC ... and this is the result, surprisingly does not order it . Before it worked...
asked on 11.01.2017 / 13:04
1
answer

I do not add the row in the table by Jquery

I must add rows to a table using Jquery, I have not been able to see the error in the console, the picture shows what I should do after clicking the add button of the modal form: $(document).ready(function(){ $("#add").click(f...
asked on 06.05.2018 / 17:03
1
answer

.htaccess error when uploading to server

I had previously posted this question how to create friendly URLs without losing css and js e imágenes . In localhost works perfectly without any problem. The problem arose when uploading to the server hostgato...
asked on 08.01.2017 / 02:00
1
answer

Finder of an array of objects with Javascript

I have the following code that searches in an array the information that I insert in the input, in this case the code works very well function autocompletado () { document.getElementById("demo").innerHTML = ''; var preguntame =...
asked on 07.05.2018 / 16:27
1
answer

HTML - Codepen.io / Export pen correctly to text editor

Good morning, A few days ago I was modifying a pen of a user in Codepen.io, when I had it to my liking (actually I only translated it) I saved it in my dashboard (I kept the copyright of the original creator). Now I'm passing it to my...
asked on 27.04.2018 / 14:16
1
answer

Search of data of an array on two arrays

I'm doing a code to try to convert some data into a table. Specifically, I have the data in 3 arrays with the following form: Survey [ age , name_of_periodico ] Interval [ First_number_of_interval (the number minor), Second_numero_...
asked on 02.05.2018 / 11:25
3
answers

help for this algorithm to change currencies?

Based on the algorithm in this hacker rank video, link , I have tried to create my own algorithm that returns the value that I am looking. Basically, to save you 10 minutes, the algorithm of that video is recursive and stores the information...
asked on 29.04.2018 / 03:22
1
answer

Fill a select in Laravel

I have a problem trying to fill a select with data from the database, with laravel 5.6 In my controller I have the following code: public function index() { $roles=roleUser::pluck('id_role','nombre'); return view('auth.register',co...
asked on 04.05.2018 / 01:27
2
answers

Load select when selecting date

I have to load a select with different data, according to the date chosen, and I do not know how to achieve this. The only thing that occurred to me was to occupy onchange in the input where it is shown the time, but it does not...
asked on 08.11.2016 / 13:17