Questions tagged as 'javascript'

0
answers

Keyboard navigation for accessibility

We are developing a site with accessibility (support this idea: D), but we encounter the following problem. When we created the shortcuts:    Alt + 1 In Chrome it changes the tab and does not go to the value indicated, which is the conten...
asked by 11.06.2018 / 23:50
1
answer

Send form and display "success" message on own page, and after clicking the submit another button appears

Hello, I'm new to these code stuff and wanted to know how I get the success message after I give Submit, I want those messages that appear in the green field, type a div, and edit with css. And I also wanted to after submit submit to appear anoth...
asked by 11.06.2018 / 20:50
1
answer

How to do sum in javascript

Within a function I entered this code and for some reason it is not adding up. var total = (currentUser.profile.hp + currentUser.profile.attack + currentUser.profile.luck) / 3; multiplication works perfectly with the '*' character     
asked by 16.05.2018 / 18:47
0
answers

Getting index of the selected item in ng-options using ng-change

I have a component that loads product and in this product besides description has the value but only the description in the options is shown. Let's see: <div class="form-group col-md-6"> <label class="lb">Produto/Serviço<...
asked by 31.05.2018 / 18:27
0
answers

Request POST with angular js for backend LARAVEL

I would like to know how do I submit a form via POST using angularJS for my LARAVEL application.     
asked by 31.05.2018 / 21:30
0
answers

Notification system in html5, javascript

I would like to understand more about this system, however, no publication has helped me. I already know how to create a notification <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name...
asked by 01.06.2018 / 00:18
0
answers

Problems loading a DataTable with pagination and filters using Asp.net Core MVC

I have to load a list of ceps with almost 1 million records in GRID. So as not to be slow, I decided to use the "DataTable" feature and do loading, filters and paging using JavaScrip according to this tutorial: link . Charging is not working...
asked by 31.05.2018 / 22:41
0
answers

CheckBox - Display content according to active option (clicked)

I'm trying to display certain content according to the selected checkbox, until this step everything ok, I was able to make the content appear. Now comes the second part that is where I'm getting miserably, which is to make the selected item...
asked by 31.05.2018 / 20:42
0
answers

Copy HTML elements into a form

I want to copy the div clicked, into the form that already contains the select . For example this: var opt = document; function processar(el) { opt.getElementById('minhaLista').innerHT...
asked by 01.06.2018 / 21:41
0
answers

How to limit number of paragraphs in Ckeditor?

Good afternoon guys! I need to limit in a textarea, with Ckeditor, the number of paragraphs. I need the person to type just one paragraph, necessarily . I also need to limit this paragraph to a maximum of 1000 words. Beauty, this is easy....
asked by 07.06.2018 / 22:28