Questions tagged as 'javascript'

1
answer

Is it possible for a button to add a tag to a textarea without erasing the content?

The HTML and JS code is as follows: window.onbeforeunload = confirmExit; function confirmExit(){ return "Ha intentado salir de esta pagina. Si ha realizado algun cambio en los campos sin hacer cl...
asked by 27.03.2017 / 07:33
2
answers

Get checkboxes checked every time you check or uncheck one [closed]

I can not get checkboxes marked (one of the checkboxes is marked since its creation), what is my error? function activar(){ var yourArray=[]; $("input:checkbox[name=vehicle]:checked").each(function()...
asked by 25.03.2017 / 18:53
2
answers

How do I call a javascript file on my sitemaster? C #

As I command to call a .js file from my site master so that it is the first to be executed within my application. SiteMaster code: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="sitemaster.master.cs" Inherits="sitemaster" %>...
asked by 24.03.2017 / 18:55
1
answer

show a message of Loading ... ** Angular **

I have a download of a PDF document, currently there are times that it takes to make the request and I do not know how to see what state the request is in to show a loading message. function downloadPDF () { $log.debug('btn descargar P...
asked by 24.02.2017 / 17:03
3
answers

How to show another page in google apps script?

I have little experience using GAS HtmlService, I managed to run some js on the page that I started, but I want you to stop showing the first page and that when you consume a new page, show it to me with the parameters that you sent to a functio...
asked by 06.04.2017 / 14:30
2
answers

JavaScript Alert does not work on webview android

I thought it was a single line but it does not activate me: Here is the code: WebView myWeb; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout...
asked by 05.04.2017 / 17:34
3
answers

a href to an identifier with margin

My question is if you can do a href to an id but send you 5px higher or 10px for example: <a href = "#nosotros"></a> <div id = "nosotros"></div> That looks like this and not stuck up like here    ...
asked by 07.03.2017 / 17:45
1
answer

Communicate R with javascript for a notification control

I'm creating a shiny app with the shinydashboard library. Right now I am testing what are notifications (alerts messages etc ...) My question is how do you manage these notifications (create, modify or delete) In the documentation of shiny...
asked by 28.02.2017 / 11:37
1
answer

Save a canvas capture?

I need a button to download and save me the canvas with name and extension ex: imagen.png in JavaScript . The image to be downloaded does not put the extension of .png , it is downloaded with the name of descarga and...
asked by 26.02.2017 / 19:46
1
answer

page of li

I want to page the following li <ul id="usuarios"> <li><div id="1">miesha</div></li> <li><div id="2">ronda</div></li> <li><div id="3">thor</div></li>...
asked by 28.02.2017 / 06:11