Posts by Denilson Oliveira • 53 points
11 posts
-
0
votes0
answers273
viewsQ: Add content to a window.URL.createObjectURL?
I need to add content to a "window.URL.createObjectURL" (blob), but after a lot of research I found nothing related. It’s really impossible? I ended up using "webkitRequestFileSystem" as an…
-
3
votes2
answers179
viewsA: Perform multiple GET with Xmlhttprequest
Simple! var i = 0; var user = [ "Pedro", "Jose", "Marcos", "Lucas" ]; function ajax( get ) { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { // readyState if…
javascriptanswered Denilson Oliveira 53 -
0
votes2
answers435
viewsA: How to appear required in an input without form?
You can put it like this. <form action="javascript:enviar();"> <input type="text" name="text" required> </form> <script> function enviar() { var text =…
javascriptanswered Denilson Oliveira 53 -
0
votes1
answer474
viewsA: Let the video occupy 100% of the screen with fixed height
using css video { position: fixed; /* absolute ou fixed */ width: 100%; z-index: 20; height: 100%; left: 0px; top: 0px; } or style <video style="position: fixed; /* absolute ou fixed */width:…
-
0
votes1
answer73
viewsA: Use of Eval to transform Razor to Javascript
You can put the code inside the Eval. eval('var teste = ' + object );
-
1
votes0
answers55
viewsQ: Download file with "4 connections" using AJAX?
I’m creating an extension for Google Chrome to speed up file downloading, using various connections. I know that it is possible to post youtube using similar, snagged video file method and creating…
-
0
votes3
answers118
viewsQ: How to insert Javascript with Javascript?
I’m trying to insert Javascript into an HTML page with Javascript, after the page has already loaded, but I can’t make the new code work , what’s the problem? var javascript = "<script>…
-
-1
votes1
answer120
viewsQ: javascript standalone data input
I created a registration page for the java function to match the "/" symbol. example by typing 20 java engaged "/" => 20/ typing 2 more digits => 20/12/ filtering to the standard date…
-
0
votes2
answers370
viewsA: How to capture the value of the src attribute of an iframe?
ended up using this in javascript var video = window.parent.meuframe.document.getElementById("video_html").src; but does not work in Chrome , with jquery also did not work !…
-
0
votes2
answers684
viewsA: How to read string from a specific word?
display from "3" to "8" $frase = "123456789"; $primeira = strripos("$frase", '3'); $utima = strripos("$frase", '8'); $retirar = $utima - $primeira ; $exibir = substr($frase, $primeira, $retirar);…
-
1
votes2
answers370
viewsQ: How to capture the value of the src attribute of an iframe?
I have to capture the value of an iframe attribute in pagina.html, from the parent page pai.html. I’ve tried everything but failed. pai.html: <iframe id="meuframe"…