Questions tagged as 'javascript'

1
answer

How to send by parameter of type string that contains special characters to the controller function?

In the view I have the following code: $("#btn_descargar").click(function (e) { e.preventDefault(); debugger; var iBody = $("#iframeID").contents().find("body"); var myContent = iBody.find("#myContent").text();...
asked by 20.08.2018 / 16:16
1
answer

modify the name of an input with jquery

Someone can help me, I am dynamically creating elements dynamically inputs with the .clone () method with jquery but I want to change the name of the input that clono, for example if I have the following input This is the input that clono &...
asked by 31.05.2018 / 16:31
2
answers

How to replace append () of jQuery with append () of JavaScript

I have two tables and I want to insert table 2 at the end of table 1. With jQuery it's so easy that I came up with the "good idea" to try to do it with javascript. Here is the code of what I have tried so far: $(document).ready(functi...
asked by 13.04.2018 / 22:49
3
answers

Choose the photograph in a form with selects

I want to make a form that through selects, you can choose one of the three images available. I'm starting on this and I would like someone to tell me why my little program does not work. In console appears // Uncaught ReferenceError: var img...
asked by 17.04.2018 / 16:50
1
answer

How to export to Excel with php and Sql Server 2008

I want to generate an excel report of my markup query. but I could not. I get the following error in the excel. <b>Fatal error</b>: Class 'Conexion' not found in <b>C:\xampp\htdocs\intragarzon2.0\formatosTH\marcaje\core\b...
asked by 17.05.2018 / 12:10
2
answers

Redirect to another url depending on the referer

I have this code in the index.php of a domain: <?php if (isset($_POST["redirect"])) { $hash = $_POST["redirect"]; if ($hash !== "") { $origen = isset($_SERVER['HTTP_REFERER']) ? $_...
asked by 18.05.2018 / 21:56
2
answers

How to know if an element of the Sun has loaded with jquery?

How to know if a component has loaded, for example a div and not in the traditional way the whole page $(document).ready(function() { using jquery? Try it like that but it does not work the div is this <div id="calendar">...
asked by 23.04.2018 / 00:50
1
answer

How to display multiple bars in the jquery flot library with json and ajax?

I have a problem with the jquery flot extension, because I have to transform it into a two-dimensional array or with this format [[0,0], [0,0]], at the moment only for normal arrays, and I also know how to do this format, which in essence is the...
asked by 05.11.2016 / 04:00
2
answers

get all the values of a select when loading the page

I have the following code, it turns out that I want to capture all the Values of a Select hidden once the page is loaded in Html , capture them in Javascript and send them by means of a JSON to the controller of 'laravel....
asked by 28.03.2018 / 21:45
1
answer

Verify js syntax in Visual Studio

I would like to know if Visual Studio 2017 has a tool to verify the java script syntax when compiling a project. Currently if I have an error a js file, I only realize how much the eject and the browser reports the error. Thanks for the he...
asked by 28.03.2018 / 20:54