Questions tagged as 'javascript'

2
answers

Search for content within tag parameters

I'm creating a search bar where the user goes typing and is filtering the content of <li> in real time. I have a similar code: HTML      <ul id="list-search-filter-map"> <li><a href="">Conteudo 1</li&g...
asked by 28.12.2016 / 14:09
1
answer

Array PHP for Array JS

I have the following array in PHP Array ( [0] => Array ( [Funcionarios] => Array ( [id] => 3 [nome] => Funcionario Teste [assistmed] => 10...
asked by 28.12.2016 / 14:15
2
answers

Sorting items with angle

I'm working on a system that requires paging of data, but first I'd like to sort the json I get in the order of user names. JSON is in the format: [["22","Aiolinhos","23","[email protected]","Administradores","SIM"],["20","Aiorinhos","...
asked by 13.04.2017 / 19:06
1
answer

Change google chart values when you click an element

I need to change chart values from days to months and vice versa when I click on the por dia/por mês buttons, I already tried to create two graphs and use hide(); and show(); when clicking, it almost worked, but clicking on the but...
asked by 04.04.2017 / 18:24
1
answer

How to create fields dynamically when selecting a value in the checkbox?

In this script below it counts checkbox checked. How can I make it count, also add new fields <input type="text"> according to the amount of checked tagged For example: I marked 5 box, then show 5 fields <script type=...
asked by 05.01.2016 / 01:41
1
answer

Sort by number with DataTables

I have a problem with the DataTables plugin in the order of numbers. I have a list of numbers: 1 2 3 4 ... 10 11 12 The problem happens because of the digits. It sorts type 1 10 11 12 2 3 4 ... The correct order would be from 1...
asked by 01.01.2016 / 18:08
1
answer

Run the next sound in Javascript?

I have an audio folder with voices / words recorded in wave and I want to run Javascript in different cases. For example: "Error logging in. Please try again". I found some codes on the web but they do not play the audios one by one. Here in Sta...
asked by 06.01.2016 / 04:59
1
answer

Checkbox value in field input hidden [duplicate]

I'm having a problem with jQuery checkbox manipulation. I have several fieldsets with checkboxes, and I want that when the person clicks on a check the check value is added to the input hidden of each fieldset. I wanted to know how I get th...
asked by 05.01.2016 / 15:57
1
answer

Pick a plugin selector

I'm trying to create a plugin but I can not get selector , and it was still removed from version 1.9. If I use $(this).selector in the plugin, it returns a string #div #elementoA, #div #elementoB . I've already tried to u...
asked by 08.12.2015 / 08:38
1
answer

Date in odd fractional form 0.00xxxxxxx

I get this date from DB:    0.002976190476190476 I would like to pass this format: dd/mm/yyyy , using javascript pure or jquery . How do I do it? Here is the ASP that mounts the select: strsql = ""...
asked by 04.01.2016 / 18:01