Questions tagged as 'javascript'

1
answer

How do I make prints between a web server and a local printer?

Good Afternoon I need to print a non-tax receipt directly from a web system. (Printer MP 20 MI X Server LocaWeb X client Windows 10 X PHP system) The issue is that because multiple drives are using the same database I can not use local server...
asked by 20.12.2016 / 18:24
1
answer

Execute function without refresh and return function data

I have the need to run a PHP function that will generate a zip file, write to the database if it was generated and the date. And right after returning the warning that was generated. At the moment I already have all created functions that do...
asked by 21.12.2016 / 12:30
1
answer

infinite scroll with msg when arriving at the end of the results

I'm starting now in javascript and ajax so there's a lot that I still have doubts I created an infinite scroll system but what I am not able to create is: when you reach the end of the column or (there is nothing else to display) You wa...
asked by 11.11.2016 / 00:01
1
answer

Trigger ~ Attribute Download HTML5

Good morning everyone, I need to download some text files (.txt) with the download attribute but I need to do this automatically when I load the page or a trigger that activates it, the problem is that I do not know how activate the eleme...
asked by 11.11.2016 / 12:47
1
answer

identify when the page is opened in a popup

Is it possible to identify if the page was opened in a pop-up? I want to do this with javascript or jquery. I have the test.html page, and if it is opened in a precise pop-up it will appear a link to closing 'close' Can you do this?   ...
asked by 13.02.2017 / 12:51
1
answer

Table filled in incorrectly HTML and Java script

I have the following situation, when I insert data from the database, my table is populated as follows: Andthismessageappears:"No data available in table", as if the data that is inserted were not for the table. The HTML code is this: &...
asked by 13.02.2017 / 21:30
1
answer

Javascript: Hide button after event "subscribe"

People in this google script have a comment "Add code to handle subscribe event." translating "Add code to handle signature event.". I want to know if I have to put a code in this place so that when the action "subcribe" the sum button occurs...
asked by 13.02.2017 / 15:29
1
answer

Select a badge as a Jquery child element

I have a badge that is the child attribute of a button, like this: <button id="equipeum" class="btn btn-primary" type="button"><span id ="pontoum"class="badge"></span></button> In this case the badge would be a ch...
asked by 11.02.2017 / 01:28
3
answers

$ .getJSON - How to store responseJSON in a Variable?

I am assembling a Javascript Object with the following constructor: var jsonResult = ""; // Inciei uma variável fora do escopo da Função function criarDicionario(lang) { this.lang = lang; this.dicio = $.getJSON('pt-br.json').done(func...
asked by 13.02.2017 / 17:56
2
answers

How do I click a button to see a form with js? [duplicate]

I looked for the stackoverflow and did not find anything similar, so here's the question: How can I do that, when clicking on 1 button, 1 form automatically appears on the same page with js? Thank you.     
asked by 21.01.2017 / 21:12