Questions tagged as 'javascript'

4
answers

Edit Text in html

I need to know if there is any way to enable a text tag to be edited in html with jquery For example, I have a p-label that is shown as plain text in html but I want that when I press a button it is enabled as if it were a textarea and it can...
asked by 10.08.2018 / 18:11
1
answer

Show mysql table in php, javascrip

I have the following database, if it is necessary to use javascrip it does not matter, but it is important to say that I use ajax and json. But I can only show the last record since I'm using ajax and json this is my code in...
asked by 10.08.2018 / 01:47
2
answers

The page is restarted after uploading the second file

I created a file upload works well when it's the first time I upload a file, when I try again, if you upload the file, what you should not do is reload the page since I use Ajax to send this, I'm new to the subject and I've searched a lot and I...
asked by 06.04.2018 / 06:33
1
answer

Manipulate text shown by input file multiple [closed]

Quick inquiry ... I am working on a report form where images must be uploaded, for this purpose I have: <input type="file" multiple> My specific question is: Can you manipulate in some way so that when you select a single file s...
asked by 04.04.2018 / 21:35
2
answers

How can I store data from a form to an array in Javascript?

Good I would like you to help with this simple form, it is that you can capture 3 numbers from the form, that you can store them in a vector and show them with another show function. I can not make him keep the data, he just repeats it to me. Do...
asked by 10.04.2018 / 02:42
1
answer

Clone an item and make an animate without losing the original

I'm trying to simulate as if you were saving an item visually. $(function(){ $(document).on('click','#save',function(){ $('#foo').animate({ left: '100%', bottom: '0', opacity: '0',...
asked by 24.04.2018 / 21:33
1
answer

Jquery UI combobox selected item

I explain my problem: I have implemented this combobox on my homepage. Everything is correct except that the color you select when hovering in one of the options is always blue and I need to modify it to another color and I can not find the wa...
asked by 24.04.2018 / 08:21
1
answer

Html Chrome does not play autoplay

Usually it happens to me that when working in Chrome the first few times it manages to load videos without any inconvenience but after a while, they no longer load the videos. It only happens in Chrome, while in Firefox, Edge, Safari and Opera,...
asked by 14.06.2018 / 18:41
1
answer

Show square added within HTML svg?

I want that by clicking inside the gray square, I draw a square of 10px x 10px in the place I clicked, I add the element inside the SVG, but it does not draw it. <!DOCTYPE html> <html lang="en"> <head> <meta charset="U...
asked by 14.06.2018 / 04:23
1
answer

If I activate the javascript scripts, AJAX stops working

I have some conflict or error with AJAX. If I put a search engine in the header using AJAX, and activate the Javascript script, AJAX stops working and does not show any results. On the other hand, if I deactivate the javascript script, AJAX work...
asked by 15.06.2018 / 16:45