Questions tagged as 'javascript'

2
answers

Scroll down automatic scroll bar in chat div (window)

NoJShandle,however,thecodeis99%ready,Ifixedsomebugs,butIcannotmakethechatwindowscrolldownautomaticallywhenIinsertanewmessage!Howtoproceed?chat.php<?phpif(isset($_SESSION['logado'])&&$_SESSION['logado']===TRUE){try{$prep=$L->prepar...
asked by 04.04.2016 / 14:30
1
answer

Error loading file with File Editor

I'm trying to make a html editor, but I can not read the file in the editor using JavaScript . var loadFile = function(name) { fileSystem.root.getFile(name, {}, function(fileEntry) { currentFile = fileEntry;...
asked by 31.03.2016 / 13:45
1
answer

$ .getScript JQuery substitute for Javascript [duplicate]

I found a zip query on the internet, but I would not like to use jQuery. Is it possible to change $.getScript jQuery to JavaScript? var cepDestino = document.getElementById( 'cepDestino' ).value; if(cepDestino.trim() != ""){ $...
asked by 20.01.2016 / 13:15
1
answer

Run php and javascript at the same time

Good evening, I needed to run PHP and javascript "at the same time", I need to update a graph made in javascript without stopping running PHP, I simplified the problem in the code below, if I can make the code below run, I can achieve the goal....
asked by 29.05.2016 / 06:19
1
answer

innerHTML only takes effect once, and dynamically generated elements

I'm doing a javascript experiment that when clicking on a certain element with a certain class we will add a new element with the same class, whenever a new element should be clicked. var my_divs = document.getElementsByClassName('my-div...
asked by 30.05.2016 / 11:35
1
answer

Display error in jquery mobile table

Hello, I'm trying to display some data that I get by ajax and put them in a responsive table using the Jquery Mobile framework. The problem is that the first time I do the operation, it works normally, but already the second time, some elemen...
asked by 31.05.2016 / 09:46
1
answer

ImgSelect: MediaStream stop is not a function

I asked this question here in Stackoverflow in Portuguese: getUserMedia has now gone discontinued on non-https connections? And I noticed that after uploading a system to the server, the camera stopped working. The domain has HTTPS. N...
asked by 13.01.2016 / 20:57
1
answer

Moving (drag) three divs at the same time and deactivating with a checkbox

I am using this code to move divs simultaneously: link The logic: If checked checkbox, use 'drag in group', otherwise, use 'drag per unit'. But once the checkbox is unchecked (to use 'drag per unit') the same is not working as it should...
asked by 14.01.2016 / 01:16
1
answer

How to use a collapsible without an id for the target element?

I'm implementing a spoof bbcode for a phpbb forum, which uses Bootstrap and jQuery in the theme. The code is this: <div class="panel-group"> <div class="panel panel-warning"> <div class="panel-heading"> <h4...
asked by 01.02.2016 / 22:42
1
answer

Create JSON with Hierarchy through Excel

I have a table with a tree of products. Category, Group and Subgroup. When I export json to excel, the file exits without hierarchy: As in this example: [ { "id_cat": 4, "desc cat": "Acessorios para Veiculos", "id_gr": 1,...
asked by 03.02.2016 / 01:37