Questions tagged as 'javascript'

2
answers

List all "date" attributes that contain a certain code

I need to list all data faults that contain certain code in their name ( not in value ). HTML tag example with attributes: <input type="hidden" id="products-end" data-flavor-id-15515-1="abc" data-flavor-pr-15515-1="abc" data-flavor-id-15...
asked by 16.11.2015 / 23:16
1
answer

Dynamic table array coming empty javaScript [duplicate]

This is what I have a javaScript dynamic table in which it includes a row with some data filled by the user, in the method of adding the row I put an array passing also the fields that I am sending to the table but when I see the values of the...
asked by 17.11.2015 / 15:18
2
answers

Add product value for purchase

Well, guys, I have the following difficulty, I have a very simple sales panel: AsyoucanseeIhaveacomboboxwithsomeproductsinit,myproblemandthefollowingIwouldneedassoonasIchoseanyoftheproductsthere,automaticallyinVALUEitisrecordedinmytable,andifin...
asked by 30.12.2015 / 19:13
2
answers

Validate input to receive value with separator per point with jquery?

I need you to only receive values with this formatting (20.00) Resolved <!-- apenas números--> <script> function somenteNumeros(num) { var er = /[^0-9.]/; er.lastIndex = 0; var campo = num;...
asked by 30.12.2015 / 14:29
1
answer

Data-Table does not work with Codeigniter

The page does not display the data-table, just the table created in codeigniter. Following codes CONTROLLER public function gerenciar(){ esta_logado(); set_tema('footerinc', load_js(array('data-table','table')), FALSE); //carrega arqui...
asked by 03.11.2015 / 17:51
1
answer

Generate Html second Json object

I need to receive a Json with the activity selection and generate the HTML according to this data. I think it should look more or less like this, can anyone give me some tips to improve? <script> $(document).ready(function () { va...
asked by 29.10.2015 / 23:01
1
answer

Scripting Conflict

I'm developing a site and for page transitions, using $ .get () from JQuery and just change the center of the index.html, without the page reloading. However, some features of the code snippets that I include require scripts, which are also used...
asked by 26.10.2015 / 03:42
1
answer

How do I open a new pop-up window when clicking anywhere on the page? [duplicate]

I want to make the visitor click anywhere on my page to open a pop-up window behind the main window that the visitor is on. So it will not see the window that was opened. I'm using this function: window.onload = function() { docume...
asked by 27.10.2015 / 02:28
1
answer

PHP and Javascript - Storage of checkbox value chosen (in session)

I have some checkboxes on my page. They would be campaign choices. It follows the code of the table where they are arranged (lines of three): <table style="font-family: Trebuchet MS; font-size: 20px" align="center"> <tr> <td>...
asked by 26.10.2015 / 14:39
2
answers

Popular graphic with list - Java Script

Hello I am developing an academic system and I need a chart with the wrong questions per student subject. I have a list with Themes (which would be the x axis) and qtdErradas (which would be the y axis of the chart). My problem is with this p...
asked by 25.10.2015 / 03:42