Questions tagged as 'javascript'

1
answer

ajax requests using callbacks [duplicate]

I am developing a web application, basically what I have to do is create components of a form based on the information I collect from a database. var _populate = function (idparametro) { jQuery.ajax({ type: "GET", async:...
asked by 07.04.2016 / 17:10
1
answer

Alert is not displayed

I do not understand why the alert is not displayed <!DOCTYPE html> <html lang="en"> <head> <title>Prueba</title> </head> <body> <br> <input type = "text" id = "texto" ></imput><br&...
asked by 07.04.2016 / 21:03
1
answer

Problem with javascript in visual studio

It turns out that I have a function in Javascript that formats a number entered in a text box, for example: if I enter 1324, it is formatted at $ 1,234 (Chile weight format). All of the above works very well, but in the sublime editor. I work in...
asked by 07.10.2018 / 18:09
1
answer

Select dynamics in php and js by the POST method

The following code corresponds to the query and information obtained from the MySQL DB: <?php $conexion = new PDO("mysql:host=localhost;dbname=scouts_601_palmira","root",""); $Id = $_POST['Id']; echo '<script type="text/javascript">...
asked by 08.10.2018 / 16:44
1
answer

Re-execute TRY if CATCH gives error

Well, that's it, I need that if the catch goes away, the try in loop plan is executed again. try{ miFuncion(); }catch(Error){ alert("¡Introduce un número entre 1 y 99!"); };     
asked by 22.10.2018 / 19:58
1
answer

How to delete a record from a table with Laravel?

In my application users logged in through a button register themselves with an activity, when they click on the button, the user and activity information is sent to a table in the database. The above works in the following way: Laravel dri...
asked by 08.10.2018 / 16:22
1
answer

Store data in Cookies CodeIgniter

I am working with the Cookies in CodeIgniter but I have doubts about what I have to send the Cookie. This is my Cookie example, it does not mark me an error but I do not know how it stores the user's information. function set_cookie() { $thi...
asked by 23.10.2018 / 16:37
1
answer

How to send parameters from my blade view to a Controller - Laravel 5.6

I need to send a variable in javascript that is in my view in Blade and send it to a controller that it would save in the database. Can you give me an example?     
asked by 10.10.2018 / 15:41
1
answer

Calendar with restrictions with HTML, JavaScript, CSS

I need help. I seek to implement a form where one of the fields is a calendar, which has the following characteristics: 1) Saturdays and Sundays disabled. 2) That does not allow to select previous dates. 3) As the shipments of the...
asked by 11.10.2018 / 02:59
1
answer

Regular expressions

I'm working on an interpreter with regular expressions, right now I'm stuck, the problem is that I want to remember a pattern more than 1 time: ^(${name})${descrip.rules.skip}+(${descrip.rules.assig})${descrip.rules.skip}*(${name}|${type.decim...
asked by 11.10.2018 / 04:52