Posts by Rafael Fischer • 34 points
7 posts
-
0
votes1
answer32
viewsA: Request error - GET method, Javascript, Ajax,
@Andre Miranda - Xservice, by the result shown, you are trying to get the information of the domain dwconsorcios.com.br, using the domain ymove.com.br. In this case the access of data via Ajax is…
-
0
votes2
answers1323
viewsA: Read an input file using Javascript
Using Filereader works only in HTML5 browsers. <input type="file" id="fileinput" /> <script type="text/javascript"> function readSingleFile(evt) { //Retrieve the first (and only!) File…
-
-1
votes2
answers55
viewsA: Function to convert letter size to SASS
Use in the SCSS: $browser-context: 16; // Default @function em($pixels, $context: $browser-context) { @return #{$pixels/$context}em; } Use of Function in(): h1 { font-size: em(32); } p { font-size:…
sassanswered Rafael Fischer 34 -
0
votes2
answers321
viewsA: Send and receive array via jQuery
PHP will receive this data and store it in an array, see example: <?php $tipo_atividade = $_GET['tipo_atividade']; foreach($tipo_atividade as $tipo){ echo($tipo . '<br>'); } ?>…
-
1
votes3
answers404
viewsA: jQuery - How to filter a JSON file from an external link?
$(document).ready(function () { // Filtro único para nome $('#Cons_Name').keyup( function () { // Cons_Name é a id de um input que o usuário insere o nome de alguém para filtro var…
-
1
votes2
answers1580
viewsA: How to call one javascript inside another?
Solution 1: Inside your file . JS, put the code below: document.write('<script…
javascriptanswered Rafael Fischer 34 -
0
votes1
answer72
viewsA: How to get the first 5 xml records?
<?php $limite = 5; $xml = simplexml_load_file('http://g1.globo.com/dynamo/economia/rss2.xml') or die("erro carregar arquivo"); $noticias =…