Questions tagged as 'javascript'

2
answers

Hide entire table row by javascript

Good evening, I'm trying to hide by javascript a whole line from the table below, can you help me? <!DOCTYPE html> <html> <head> <style> table { border-collapse: collapse; border-spacing: 0; width...
asked by 07.01.2017 / 03:55
1
answer

Insert JavaScript in TinyMCE

I would like to know if it is possible to configure TinyMCE to accept snippets of JavaScript typing field, and if possible, what is the setting required to enable this option.     
asked by 12.01.2017 / 14:27
1
answer

Create splash screen in the Electron application

I need to create a kind of Splash Screen for an application on Electron. The organization would look something like this: Inicialização do App; Abrir a splashWindow (uma página frameless) por 3 segundos; Abrir a mainWindow normalmente. Reme...
asked by 11.01.2017 / 18:29
1
answer

Which method to use to checkbox a search result to the DB made in ajax?

I need to checkboxes for a forms editing page, the values are saved in a table where the checkboxes that have been marked in the register have been stored, however I do not know how to pull those results and leave the same fields edit page check...
asked by 20.12.2016 / 06:20
1
answer

Executing action on an unselected ID

I have several links: <a href="javascript:void(0);" id="ZoomPath" data-ref-id-map="Layer_1" data-ref-g-id="xxx">São Paulo - São Paulo</a> <a href="javascript:void(0);" id="ZoomPath" data-ref-id-map="Layer_1" data-ref-g-id="yyy"&...
asked by 20.01.2017 / 15:31
3
answers

Problem with JS / JQuery / JSON / AJAX

I'm having some problems with JSON in my application and wanted to see if you guys can help me, please. The situation is as follows: I have a method in my controller that looks for some items: @RequestMapping(value = "/buscaTodosCardapio...
asked by 23.01.2017 / 17:56
1
answer

ENTER key save table instead of space

I have the following table that lets you edit directly on the grid: Hercodes:  MySQLtableCREATETABLEIFNOTEXISTS'php_interview_questions'('id'int(8)NOTNULL,'question'textNOTNULL,'answer'textNOTNULL,'row_order'int(8)NOTNULL)INSERTINTO'php_inte...
asked by 20.01.2017 / 12:53
1
answer

Javascript Arithmetic Error [duplicate]

Today I went through a strange problem, a simple calculation of the sum of the difference according to the ordering. If in the browser console perform this calculation below: 2.3+2.3+2.1 The expected value would be 6.7 correct? Yeah, b...
asked by 09.12.2016 / 14:55
1
answer

Save value to an input after inserting it automatically using Javascript

I have a select box that defines how many items are going to be displayed to the user. link However, when it fails to fill one of the inputs, it displays the error: "undefined" If it fills the 5 fields, they work fine, the problem is whe...
asked by 07.12.2016 / 12:31
1
answer

PHP and Javascript - Hosting and opening files in other formats besides PDF

I created a way to host presence list files in events on my client's website. Here is the code: <b>Arquivo da lista de presença (PDF):</b> <?php if($evento['arquivo'] == '1'){ echo '<a href="http://meusite.com.br/upload/w...
asked by 09.12.2016 / 18:39