Questions tagged as 'javascript'

3
answers

Run javascript verification function within the registry creation function

I have a javascript function to create a record called createSancion , it verifies the fields and then shows a message to confirm the saved, if it is accepted it becomes a form.submit It happens that you add another script to count t...
asked by 10.02.2017 / 15:41
2
answers

Visit counter

I need your help for a visit counter, it's for wordpress or php, [ link UPDATE function under_bh_fun() { // fichero donde se guardaran las visitas $fichero = "visitas.txt"; $fptr = fopen($fichero,"r"); // sumamos una visita $num = f...
asked by 15.02.2017 / 17:05
1
answer

Delete registration 24hrs after created

As I do so that the records of a table in my MySql database are deleted every 24 hours automatically without using cronjobs. Pd: use php. Greetings.     
asked by 21.02.2017 / 21:40
3
answers

Fill an array of Javascript with the result of a SQL Server stored procedure

I have a stored procedure which, when executed, throws me a table dynamically. I would like that table to be stored in an array of Javascript, regardless of the number of fields or rows. Is there any way to fill in from a SQL Server stored pr...
asked by 18.02.2017 / 00:27
2
answers

download a file with javascript

In a view HTML I have a href which has a data_id with an 'X' value and a class, when I click on the link I do ajax validating if that data (data_id) really exists, what I try to do is that in the done if I downloaded the file but ps do no...
asked by 31.01.2017 / 14:18
2
answers

Deactivate and reactivate all div content onclick using javascript

Good morning everyone, I have this HTML code: <div class="container" style="overflow-y:scroll" id="champions_list"> <img id="Aatrox" title="Aatrox" alt="6300" style="cursor:pointer" onclick="AatroxIcon()" src="champions/Aatrox_Squa...
asked by 29.03.2017 / 17:40
1
answer

Print result of a script in an input

I want to convert the first text box to uppercase and lowercase, according to my function, but I do not know how to have the result printed in the text box below. Every time I click on the button, the page is reloaded and the text in the box is...
asked by 31.03.2017 / 14:53
2
answers

Set top of a div in relation to the screen

I have a div that appears when I touch an open button (similar to a modal), this button appears n times along the page, my problem is that if it has been scrolled down and clicked on the button to open, the div appears at the top of the page and...
asked by 01.02.2017 / 18:03
1
answer

Get results from a json using javascript

Good morning, thank you. I'm looking for a way to get the urls of this json : { "kind": "blogger#postList", "nextPageToken": "CgkIChjB-J3Q_isQ1vfW0eSImIxF", "items": [ { "kind": "blogger#post", "id": "xxxxxxxxxxxxxxxxxx", "blog"...
asked by 28.11.2017 / 18:22
1
answer

Jump from one input to another without using tabindex

I have the following code that makes me jump from one input to another through a tabindexgt attribute, but only jumps among those that have that attribute if there is another input with another attribute that jumps. How can I do to jump from one...
asked by 27.11.2017 / 16:41