Questions tagged as 'script'

1
answer

Add two inputs if there is hidden div

In my programming I have two div with buttons to hide them and I have two inputs: nota1 and nota2 and I have a button to add those two inputs. I want those two buttons to be added only when the div1 is hidden....
asked by 30.10.2018 / 19:45
1
answer

Write in a text file the result of a command in Ruby

I am trying to write the result of a command in a text file but I can not write anything. This is my code f directorio2 == nil directorio2 = 'pwd' directorio2 = directorio2.to_s end puts "#{directorio2}" system "diff -rs #{directorio1...
asked by 03.05.2018 / 14:06
1
answer

Redirect with href and move to html section

Hi, I would like to know if it is possible to redirect to an aspx and move to a section  of this same but at the same time by means of href="# ..." currently I have two pages .aspx with a menu, but when I go to the second and want to return, thi...
asked by 16.04.2018 / 06:32
1
answer

How can I change values using JQuery?

I need to change some values in a pre-set options box using JQuery , an example of code : <div id="div-archive-max-size"> Max size for archive : <select name="archive-max-size"> <option value="10485760">10240 Mo&l...
asked by 12.10.2017 / 20:41
1
answer

update a laravel real-time datatable

helpme                 Name <th scope="col">Nombre proyecto</th> <th scope="col">Aprobado </th> <th scope="col">No Aprobado</th> <th scope="col">Abstencion</th> </tr>    @forea...
asked by 06.11.2018 / 16:58
1
answer

SendKeys does not work in C # in Visual Studio

I want an application that when pressing a button, the keys Alt + F4 are automatically pressed to close for example the form (it would be easier to close it by code and not having two keys pressed, but it is an example). In short, SendKeys do...
asked by 28.11.2018 / 13:26
1
answer

Event probability chain

I have 14 events (A: N) and I want to calculate the probability that there is a transition from A to B , or > B to C , A to C , from A to A , etc ... in a vector like this:    x < - c ("J", "J", "K", "K", "K", "M", "J", "J",...
asked by 25.09.2018 / 19:27
1
answer

Make the code work with a button yes or no

I have this code that makes me send a confirmation message to the user wanting to leave my website, everything works fine. window.addEventListener('beforeunload', function(event) { var confirmationMessage = '¿Seguro que quieres salir?'; e...
asked by 15.08.2018 / 02:17
3
answers

how to pass scrip variables that interpret a sql statement?

Good is the first time that I participate I am wanting to make the variables: xco, xto, xde, xcc recognize me in the query sql q I do below in vsql, it will not be possible if you can give me a hand or some idea to be able to find that way, than...
asked by 15.07.2018 / 20:53
1
answer

Function Load () Jquery loads me on the div but, not its jquery events

Good day, you have all come to you in search of a solution, as the title says when loading a load in another page the functions (Jquery) that previously established on the page stop working if that same page the charge in a Different tab works p...
asked by 08.08.2018 / 21:52