Questions tagged as 'javascript'

2
answers

Clear form

Well my question is that I must add to the javascripr for when I click on the submit in this case I will clear the text box that in my case is one, that is the textarea. Thanks in advance this is my code <textarea id="user_message_textarea...
asked by 02.12.2018 / 08:12
1
answer

Show Notification with toastr.js in file where it will be redirected after success

I have the following concern. I have a form that is sent through ajax and validated before its submission with formvalidation. Everything works fine, but I need the notification to be shown in the file where it will be redirected after the ajax...
asked by 04.12.2018 / 19:04
1
answer

how can I sort in ascending order a table of positions stored in an array in javascript?

I'm doing a game that demands a table of positions, which is made up of the names of users entered and their respective final scores. I have doubts about how I could sort such data without getting messed up, since ordering the numerical part is...
asked by 02.12.2018 / 16:32
0
answers

Make a class for all the alerts

I want to do a class based on the alert that appear in my application, but what I want is to know how to make a class so that it works with the different id's of each one of the alerts that appear in the application, that is, regardless of the...
asked by 03.12.2018 / 14:56
1
answer

get the name of the id by clicking on a div

I was wondering how to make the name of a div id saved in a variable and then show the value of this variable with an alert, this dynamically, only with javascript.     
asked by 02.12.2018 / 01:37
0
answers

Uncaught TypeError: Can not set property 'innerHTML' of null when closing modal boostrap

I have an error generated by console that is Uncaught TypeError: Can not set property 'innerHTML' of null. This error occurs when closing a modal window, which contains a counter that is generated through datetime from the database. Previously t...
asked by 02.12.2018 / 01:44
0
answers

Manage more than one file at a time

Hello, good morning, everyone I commented: I have to do an optimization of a gallery, in this case I have to manage 20 images dynamically, that is, the user decides how many photos he wants to upload, the fact is that I know how to upload one or...
asked by 03.12.2018 / 10:33
0
answers

Problem with javascript form

Hi, I have a form in html and javascript that gives me the following error: Can not read property'value'of null and I do not know why I have attached the html and the js Html: <form accept-charset="UTF-8" action="" method="post" onsubmit="e...
asked by 03.12.2018 / 09:08
2
answers
0
answers

Help with Amazon code

in my work I have been given this Amazon code is an accountant, but being on the web page is a fixed number unless you reload the page changes the number, but I want to be updated at all times this number without needing to reload the page, I ne...
asked by 30.11.2018 / 23:09