Questions tagged as 'javascript'

1
answer

Construct a table on page B with DB data and unload on page A by ajax_jquery

I now need a b.asp file, build and populate a table (html), and then download it through ajax in the a.asp file. So: b.asp file <%@ LANGUAGE="VBSCRIPT" %> <% Option explicit %> <!--#include file="../../gen/inc/EBAXML.in...
asked by 24.09.2015 / 20:07
1
answer

What is Fauxgap.js used for?

Alright? After seeing some articles on dev mobile, much was said in a facilitator file for emulation called fauxgap.js What exactly does it do? Does the cell and phonegap js in the browser? I did not quite understand. = /     
asked by 25.09.2015 / 15:10
1
answer

Ajax code is not taking the value of the inputs

I have a problem with ajax, which is not picking up the data entered in the email form, even though it is sending the emails. Follow the form code: $(function(){ $('#nome, #email, #assunto, #message').on('keypress', function(e)...
asked by 09.11.2015 / 23:44
2
answers

Error giving spaces between divs

I have a problem with space in some divs, here is the code below: HTML: <div id="feira"> <div class="barraca"></div> <div class="barraca"></div> <div class="barraca"></div> </di...
asked by 10.11.2015 / 13:52
1
answer

In IE the code works and in Chrome it does not

I have this function: function AbreGrupoCarencia(pTitulo, pTipo, pLinha, pCodigo, pCodTsContrato, pCodEntidadeTS, pNomeEntidade, pProtocoloAtendimento, pCodContratoAmpliado) { var txt_codigo = eval('document.form01.' + pCodigo + '.value');...
asked by 18.09.2015 / 16:24
1
answer

Call input value within span

I have this line of code: <input type="text" class="form-control" id="usado" placeholder="Quantidade" aria-describedby="basic-addon1"> <span class="input-group-addon" id="basic-addon1" onclick="usaEstoque(usado,<?php echo $arrDados...
asked by 29.09.2015 / 15:46
1
answer

Converting an array string to a javascript array

I have a data that comes as a parameter of a function. [['local','precipitação'],['RJ',0.2],['SP',0.8],['MG','']] This data should be recognized as an array, but javascript recognizes it as a string. Is there any way to convert t...
asked by 28.09.2015 / 15:17
1
answer

Slideshow with bootstrap?

I'm creating a prototype in bootstrap, how do I create a slideshow for a power point presentation file? How can you do this? To display the images I did this: <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!--...
asked by 30.09.2015 / 17:04
1
answer

Update a viewbag (c # razor) with a javascript variable

Maybe what I want to do may be impossible, due to server and browser side issues, but I'd like to do the following: <script> function pegarId(id) { $('@ViewBag.Id').value = $(this).attr("id"); } </script>...
asked by 30.09.2015 / 07:04
1
answer

Ajax REST: PUT / DELETE does not work

I have 2 applications: 1) a Rest API on an XPTO server (using laravel 5.1), which has: ->header('Access-Control-Allow-Origin', '*.xpto.com.br') ->header('Access-Control-Allow-Credentials', 'true') ->header('Access-Control-All...
asked by 12.01.2016 / 22:04