Questions tagged as 'javascript'

0
answers

SSL Authentication

I am facing a small problem with an api, whenever I send the request I get the following errors: jquery-3.3.1.min.js: 2 Failed to load link : Response to preflight request does not pass access control check: No 'Access-Control-Allow-Origin'...
asked by 01.10.2018 / 22:06
1
answer

I could not translate the FullCalendar plugin to pt-br. Can someone help me?

Good afternoon. I'm trying to use fullcalendar in web software, but I can not translate to Portuguese. I already imported the file pt-br.js and added a JS script, but without success. Can anyone help me?     
asked by 01.10.2018 / 22:09
0
answers

Pass data from an iframe to the parent page

I'm rendering a iframe on a page, this iframe makes a request via ajax on the old system, and when capturing this data, I'm trying to access a method on the parent page to send the data, example ... window.parent.recebeDados(dado...
asked by 01.10.2018 / 22:49
0
answers

Validation in form with the database

Good afternoon! I used this code for a form that is in html , however in this case, I'm using a framework called web2py, which generates form through the db file. I need to validate the fields, but the html that web2py generates whe...
asked by 01.10.2018 / 21:00
1
answer

How to change the legend of a Primefaces line chart?

I'm looking to change the font size and legend square of a Primefaces chart via JavaScript. My code: <script type="text/javascript"> function alterarGrafico() { this.cfg.highlighter = { tooltipAxes : 'y'...
asked by 27.09.2018 / 15:44
1
answer

How to add new data in JSON with TypeScript and Angular

I have a JSON look like this: [ { "texto": "Eae", "contato": "Luis", "data": "2018-09-25T21:08:00" },{ "texto": "Salve povo", "contato": "Rogerio", "data": "2018-09-25T21:15:00" }...
asked by 27.09.2018 / 18:46
0
answers

React implementation with external library (SDK)

I have the following problem, in the project that I am participating in React, the company is considering the possibility of acquiring a tool to capture images (selfie and documents). Something similar to what NuBank does today to open an accoun...
asked by 04.10.2018 / 03:18
0
answers

Array vs Object, javascript / angularjs

Hello, I'm trying to work with angularjs and I have to do the following; Make a table be populated with some object fields different make a modal appear populated with different fields depending on the type of object that invokes modal....
asked by 03.10.2018 / 22:10
1
answer

Notice: Undefined index: $ _FILES [duplicate]

I am trying to send the data of a form to use in php, I made a script in ajax to send the data, I can access POST data normally, the problem is that I can not access the image that is in the same form by placing enctype="multipart / form-data"...
asked by 04.10.2018 / 02:55
1
answer

JSF and JavaScript

I have the following question: How does JSF work with JavaScript? I'll be more specific. I'm working on a project with JSF (primefaces), but I can not seem to do something simple with JavaScript, which would be a var btnCarregaAnexo = docum...
asked by 03.10.2018 / 21:27