Questions tagged as 'javascript'

2
answers

detect tabindex

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"&g...
asked by 14.06.2017 / 21:47
1
answer

Know which part was clicked

I am making a player of my own, what I need is to be able to move through the video with clicks in the progress bar, here the progress bar: <player-progress-bar> <div style='width:100%'> <div class='hr-yt-played' sty...
asked by 27.06.2017 / 14:35
2
answers

Redirect according to the domain

Hello friends, I'm looking for the right way to redirect according to where the visit came from. I have this code: <script> var result = document.referrer.split( '/' ).indexOf("https://ged-botxtrem.rhcloud.com/");; if (result >= 0...
asked by 26.06.2017 / 23:40
1
answer

Retrieve the value of an ASP.Net text box [duplicated]

I have a textbox with id TextBox and I have a JavaScript function function prueba() { var hotel = document.getElementById("titulo").innerHTML; $('#MainContent_TextBox1').val(hotel); } Now in the codebehind I wa...
asked by 14.06.2017 / 23:02
1
answer

Is there any variable that is unique and unrepeatable (apart from the time and date) that can generate with Javascript and decrypt with PHP? [closed]

In my project, if the user has forgotten their password, I force them to write their user and using Javascript and windows.location I open a new web page with a request type GET and send your user as a variable. On this page, once...
asked by 15.06.2017 / 19:10
2
answers

Pass values in razor to javaScript

I'm doing an application in asp.net, what happens is that I need to access a value that the razor brings me, to later use it in a script but I do not know how to combine razor in javascript, I know that from javascript to razor not it is possibl...
asked by 16.06.2017 / 16:51
1
answer

Filter table according to the sectioned value of a select

I'm doing a filter of select of an individual column so that when I hit that value, I return directly to the result table. I'm working with a datatable jQuery and the only thing that has helped me is to search with a i...
asked by 20.06.2017 / 12:38
1
answer

show values in graphics bars in google charts

I have a graph in google chart in which I want to show the values for each bar of the graph try to do it but it did not work, by the way the type of graph is columnchart. so far it looks like this I want you to show the values like this...
asked by 20.06.2017 / 22:04
2
answers

Fill table in nodejs (jade) of an sql query

I have this query getAnalisisDetallado: function(req, res, next) { var config = require('.././database/config'); // connect to your database sql.connect(config, function(err) { if (err) console.log(err);...
asked by 21.06.2017 / 20:59
2
answers

What is the error in counting the A tags?

var totales = 0; function buscarLinks(){ var links = document.getElementsByTagName("A"); var i=0, linkse=links.length; for(;i<linkse;i++){ if(links[i].href == 'prueba') totales++; } } console.log(totales); <!DOCTYP...
asked by 10.08.2017 / 17:36