Questions tagged as 'javascript'

1
answer

How to know when they capture the screen of my web page?

I am working on a project with html, laravel, php, javascript, jquery and ajax the problem is that I want to know when they take screenshot to my web page and send an alert by email. I have searched for information but I do not find anything...
asked by 27.07.2018 / 20:52
1
answer

Disable the readonly attribute

I have a select where I select an object and it pulls the value to a input , but I want to ask if the text is the same Other, that the input CodArea can be editable (remove attribute readonly) <select class="form-...
asked by 25.07.2018 / 18:40
1
answer

Can a request be made in an ng-click event?

Can a request of the post type be made in a click event in angular? <div class="box-header este" data-widget="collapse" ng-click=fxRequest() > function consulta_grupos($http, ref, vg, tipo, $scope) { var oficina = localStorage....
asked by 24.07.2018 / 20:12
1
answer

How can I hide my alert within a modal in Jquery?

What happens is that I have a Finalizar compra button that when giving click and not being logged, a modal appears with the alert message    "You should sign up before continuing with your purchase" and I have another button...
asked by 26.07.2018 / 19:49
1
answer

calculate average and percentages in javascript

How I need a little help, I have the following arrangement: And what I need is to transform quantity in%, corresponding to the total average of all the amounts, that is: the total sum of quantity is 791 which is equival...
asked by 24.07.2018 / 20:24
3
answers

Identify checkbox by clicking

I am generating a structure dynamically, which I obtain from a json. It has the function that when clicking on the user's name will show another card in which I have 3 checkbox. The problem I have is that by getting the id and value of each c...
asked by 03.08.2018 / 20:07
2
answers

Count and show it on screen, but when reloading do not restart the count, either with JavaScript or Php

Hello friends, I would like to know how to make you tell me the number of click that you make to a part of a page, and show it, I would like to do it with php so that those clicks are saved in the database but it is easier with javascript but wh...
asked by 06.08.2018 / 19:38
3
answers

Problem when repeating function with javascript in FOR cycle

Hello everyone I have a question I have this code for (i=1; i>=variable; i++ ){ function formula'+i+'(){ } } I would like to know how I make the function repeat itself automatically I add the variable i but it te...
asked by 04.08.2018 / 17:05
2
answers

Get selected checkbox value with jquery

I have a small function that runs through all the checkboxes and shows the value of those that have been selected. $("input[type=checkbox]:checked").each(function(){ //cada elemento seleccionado alert($(this).val()); });...
asked by 01.08.2018 / 22:04
2
answers

How to do to show the accents from a javascript file?

I have a jsp in which it is sent to call a javascript file in the following way <script type="text/javascript" src="<c:url value="/webresorces/js/validacion.js" />"></script> The file js contains the validations...
asked by 12.07.2018 / 06:03