Questions tagged as 'javascript'

1
answer

Know the nth of the item clicked to select an input in the same nth?

I have a table where I have a checkbox to enable the editing of several items at the same time, that is, I can edit several since the input is selected, but I have a problem that if I want to edit only one does not need to select the checkbox....
asked by 09.11.2017 / 15:13
1
answer

Problem with post / get method to update table

I'm trying to perform an Update on my table through javascript so I do not have to leave the screen every time I inactive a field, my table: ThebuttonIusedinPHPbutwenttoanotherpage:<tdclass="center"> <?php echo"<a class='btn bt...
asked by 19.11.2018 / 12:27
1
answer

add more than one name in the form

I have the following problem, I have an image map , where when clicking the coordinates the result appears within a <input type="text" /> , however I can only put the name of one of the coordinates clicked. p> I would like to know...
asked by 07.02.2018 / 22:05
1
answer

In ReactJS, can you ensure that a method of the class is only executed after setState is completed?

I'm doing a FreeCodeCamp project using ReactJS. It consists of making two Leaderboards : one of the campers with the highest score in the last 30 days and another of those who have accumulated more points, user can choose which leaderboard...
asked by 04.02.2018 / 19:11
1
answer

Edit array inside another array

I'm new to AngularJS and I have the following situation: I have a list of categories and within this list of categories there is a product listing for that category. Example: Smartphones > Galaxy, iPhone, etc ... The problem is...
asked by 07.02.2018 / 23:42
1
answer

Progress bar in a cell of a table

I'm making a calendar and I need to make a progress bar of the elapsed time each day. I set up the calendar using HTML tables. How can I make this progress bar each day separately?     
asked by 29.12.2017 / 19:50
1
answer

Header location of php is inserting file instead of redirect

When I log in to my form, after checking if the user is valid there should be a redirection to the home page. However, when using header('location: home.php'); , the contents of the home.php page are being inserted in the login page. I'm u...
asked by 31.12.2017 / 02:06
1
answer

Calculate horizontal distance of an element

I'm trying to customize a submit button using Bootstrap 4 Beta 3 . The idea was to do something like "slide to unlock" style ; however, it is only working in a resolution above 992px ... I believe this is due to break-point...
asked by 02.01.2018 / 09:12
1
answer

Deleting records marked with checkbox

I wanted to be able to delete multiple records from a table just by selecting the records using checkbox , same as Gmail, I select the emails that I want to delete or mark as read. Because when I need to delete some registry I still have t...
asked by 19.10.2017 / 14:28
1
answer

Bootstrap DatePicker in mm / yyyy format set maximum date

I'm using Bootstrap DatePicker in mm / yyyy format, but I'm having trouble setting the longest possible date. TheCodelookslikethis:$('#mesVigencia').datepicker({format:"mm/yyyy", startView: "months", minViewMode: "months", language...
asked by 20.10.2017 / 14:41