Questions tagged as 'javascript'

1
answer

Scroll effect does not work jQuery

Here is the jQuery code, it's the last thing Here is the Html Here is where I want it to move But fortunately, do not do anything, someone help me please? Thanks: D     
asked by 31.07.2018 / 03:18
2
answers

Store the initial class of HTML and return it

I am trying to store the initial value of a class and return it to a conditional ternary operator when it does not meet the conditions I tried something like: function toggleDarkLight() { var body = document.getElementById("body"); va...
asked by 24.07.2018 / 23:30
0
answers

Why is a loop created when I return the focus when I receive the ajax?

Here I have the code of the function that runs when the ajax is successful: function existe_usuario_o_no(registo) { if (registo.booleano) { alert(registo.mensaje); $(".usuario").val(""); $("#tr_oculto").hide();...
asked by 25.07.2018 / 00:51
2
answers

send an image using ajax

function objetoAjax() { var xmlhttp = false; try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false;...
asked by 24.07.2018 / 22:14
1
answer

Correct way to open HTML in Modal BootStrap

I have the following, I have 4 html files with different information that I need to show as necessary, I already have this done and it works but I do not know if it is the correct way or it can be improved, I appreciate your help Index.php...
asked by 24.07.2018 / 23:29
0
answers

I returned a complete html when executing my ajax with specific url

When I run my ajax and send the location of my webmethod I get the following result: <!DOCTYPE html> <html lang="es"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> &l...
asked by 20.07.2018 / 15:34
0
answers

Save pdf in App. From a JSON with base64. Cordova Phonegap File or File transfer. writer.truncate (11) writer.seek (4)

Hi, I have a question about how to convert a base64 to pdf with jquery or javascript. And also what are the numbers that are passed by parameter to the functions = > writer.truncate(11) writer.seek(4) and in case you want to...
asked by 20.07.2018 / 15:05
1
answer

firebase update multiple database realtime

I'm doing a sales system with firebase and javascript, I have products and I want to modify several of them at the same time with the following code only modifies me the first one for (var i = 0; i < compra.length; i++) { if (compr...
asked by 20.07.2018 / 13:14
0
answers

How to display the permission groups of an item within a Sharepoint Online list with JavaScript

I have a list of Sharepoint Online, the items broke the inheritance and I need to show them with their respective permission group in a table on a blank Sharepoint page. In the following code I show the group of permissions that the list has...
asked by 20.07.2018 / 17:56
0
answers

Why does not the show.stream () method of the jpegcamera.js library work?

I'm creating a webcam for a project using the jpegcamera.js library, the problem is when I take snapshots and the camera does not refresh     
asked by 20.07.2018 / 18:10