Questions tagged as 'javascript'

2
answers

How to make two drop-down lists that depend on another drop-down list?

Good afternoon I need to make three drop-down lists (select) in an html template where two of them depend on the first selection that is chosen.     
asked by 15.08.2016 / 20:44
2
answers

How to remove the "and space in my Jquery javascript table (a href Generic Handler)?

I have this: table.append("<tr id='row_" + i + "'><td name='id'>" + "<a href='http://localhost:25429/FileCS.ashx?id='" + Data[i].id + " target='_blank'>" + Data[i].id + "</a></td>" and send me as an answer:...
asked by 27.06.2016 / 19:52
2
answers

Problems with a script

I have the following script echo "<script language='javascript' src='ajax.js' type='text/javascript'></script>"; echo "<script language='JavaScript' > function c_resolucion(resolucion) { var resolucion, cajas;...
asked by 30.06.2016 / 14:00
1
answer

Problems the query takes me as Alert Injection SQL

Thank you in advance for answering. The problem is that when I run the following query I get an alert injection SQL . \!/ ALERTA !!!!! [09 Aug 2016 10:45:30] <br> TIPO: SQL INJECTION-INTERNO <br> URL ATAQUE: /gci//workflowgest...
asked by 09.08.2016 / 16:06
1
answer

Bootstrap slider (carousel) in wordpress

I was optimizing the web but I realized that the plugin I used for the page slider slowed it down a lot (and made it weigh a lot more) so since I'm using bootstrap, I decided to make a new one with code. The problem is that it shows absolutely n...
asked by 31.05.2016 / 10:46
2
answers

Offset in slider with Javascript

I'm coding a small slider quite simple and I run into a problem that I really do not know what it is. The slider works well until you try to go back to the first photo, you see the change of positions showing the malfunction and...
asked by 29.04.2016 / 19:14
1
answer

Pass HTML to image [closed]

My problem is this, I need a js or PHP library to be able to pass HTML code to an image and it is downloaded automatically. $html = "<div><p>Soy un código HTML</p></div>" htmltoPNG(<?php echo $html ?>); <scrip...
asked by 28.04.2016 / 17:13
2
answers

Two variables onclick event

I have the following problem, I am trying to put a push in an onclick event before giving the value to window.location . href="javascript:;" onclick="window.location = 'pagina.php';" But, the problem that I have, is that if I put it...
asked by 02.05.2016 / 08:18
2
answers

How to calculate the accumulated values of a Json?

I have a json that returns an array with a date and measurements. Within the measures there are values that I want to consolidate, after ordering the data by month. obj { 0:{ 'timestamp': "2016-01-02T08:13:00+00:00", 'measure':...
asked by 20.05.2016 / 21:36
2
answers

Javascript onLoad does not load

I have this Javascript function inside my HTML. $("#aviso1").on('click', function (e) { // Initialize the object, before adding data to it. // { } is declarative shorthand for new Object() var obj = {}; obj.tit...
asked by 23.05.2016 / 18:56