Questions tagged as 'javascript'

1
answer

Problems with SCROLLTOP

I'm having problems with scroll-top . The implemented function should take the input that was with focus it takes it to the top with scroll-top , but it works satisfactorily only for the first clicks at the top of the p...
asked by 15.01.2016 / 18:50
1
answer

Synchronous XMLHttpRequest and XMLHttpRequest.withCredentials

When I load my page, these 2 messages appear. [email protected]@{ViewBag.Title="Adicionar novo item"; Layout = "~/Views/Shared/MasterPageCadastro.cshtml"; @* ----- Boostrap ----- *@ <link href...
asked by 11.11.2015 / 20:04
1
answer

Open page after 2 seconds with js on intel xdk

I'm using intel xdk. On the first page has the system logo, I want the system home page to be loaded after 2s. As a test I did this with button to see how it is done, but I'm not sure how to do it to load automatically after 2s. See: $(d...
asked by 10.12.2015 / 20:04
1
answer

Annotations Google Chart - Stacked Horizontal

I'm using Google Chart to develop some charts. I have the following chart working: <script src="https://www.google.com/jsapi?autoload={%27modules%27:[{%27name%27:%27visualization%27,%27version%27:%271.1%27,%27packages%27:[%27bar%27]}]...
asked by 10.12.2015 / 19:15
1
answer

How to pass text as a parameter to a JavaScript function?

I need to do a JavaScript function and I want it to receive the parameters in text format: HTML code: <button onClick="AlteraNome(Felipe)">Enviar Nome</button> JavaScript code: function AlteraNome(nome){ document.write(n...
asked by 12.12.2015 / 01:25
1
answer

How to load chained scripts recursively with javascript?

Hello everyone. I'm trying to make a function that works like require of some languages, like Ruby. Using% w /% after the page is already loaded is smooth, but chaining and loading time is a tricky task. With createElement javas...
asked by 12.12.2015 / 02:01
2
answers

Allow a function to be called only after a time the page was loaded

I would like to know if there is a way to allow a function to be called only after a few seconds. Example I have a function that emits sound when a new message comes up and it calls, but when I restart the page the function is called start logo,...
asked by 09.10.2015 / 06:04
1
answer

How to catch Owl Carousel event

I'm using Owl Carousel in the large image, the thumbnails on the left side should work as controler too, but I'm not sure how to get the 'change image' event from the slide. How can I do this?     
asked by 06.10.2015 / 16:10
1
answer

Checkbox status

Hello, This code does the following, when the checkbox is selected, the table row is added in the table below. If I create the input.checkbox in the hand the code works but does not save its status when using the paging, using the bootstra...
asked by 05.10.2015 / 22:34
3
answers

Change height with javascript

Good afternoon! Next, I have a div.minhaDiv with a height: 580px; and I want it to click on a button height of that div.minhaDiv increase to 1600px . When it is with height: 1600px I want it to clic...
asked by 01.10.2015 / 23:00