Questions tagged as 'javascript'

0
answers

JavaScript Import Error: Uncaught SyntaxError: Unexpected identifier

I have a problem importing JS files into whatever browser this is happening. Uncaught SyntaxError: Unexpected identifier He accuses this of importing OpenLayers files from OpenStreetMap. The import code looks like this: import Featur...
asked by 17.09.2018 / 16:01
1
answer

Is web tax printer possible? [duplicate]

I'm implementing a system for issuing invoices with fiscal printer in C #, but would like to know if the same is possible via web using JavaScript HTML, CSS etc. How would I do this? Through which tools and resources?     
asked by 27.01.2015 / 01:32
2
answers

Open Page after Progressbar reaches 100%

Hello, I would like a help, I have a button that when pressed triggers the event of progressbar and it begins to load up to 100%, after that I would like to open a page (for example thanks). HTML and Script are just below; function...
asked by 04.09.2018 / 15:21
0
answers

Sending form with ajax json

Hello, my question is about submitting a form via ajax. I would like to get these form elements and send via ajax. I need to save and send the form data, the "grid", and the json question and answer. I thought of writing those elements in a vari...
asked by 04.09.2018 / 19:36
0
answers

How to include js file in html project?

In my project, I am trying to include an .js file, but it is displaying the error Uncaught SyntaxError: Unexpected token < every time I include the file as <script type="text/javascript" src="dashboard/dist/js/main.js"></sc...
asked by 04.09.2018 / 16:50
1
answer

Incorrect IF condition return

I make a request in the api to get some data, and then I do a forEach and give the result to a variable this.DadosQueTaNaTela soon after I make another request in another api to get the data and do a forEach and the result I give this...
asked by 04.09.2018 / 17:50
0
answers

Web Push Notification (Error 400)

I'm trying to implement push notification, but so far nothing works properly. I wonder if I'm doing something wrong. When I send the message I get the 400 UnauthorizedRegistration error. I think the same should be in the request parameters...
asked by 06.09.2018 / 13:19
0
answers

Tooltip when mouseover on map

I'm trying to make a tooltip appear when hovering over a part of an image, but it's not working, I've tried two ways: The first one was to put title in the map of the image, it appears the tooltip, however I can not edit the text, like increase...
asked by 06.09.2018 / 14:52
4
answers

How to create a real-time notification system similar to Stack Overflow?

I am developing a Help Desk system, and would like some ideas on how to create a notification system similar to Stack Overflow itself, whenever any new support is registered. I want to use PHP, MySQL and jQuery only. Should I use window...
asked by 16.03.2014 / 20:21
1
answer

Error 404 when using Sky Ecommerce API

I'm trying to make a request via API to make sales via credit card. Manual URL: link JSON informed by SKY { "MerchantOrderId":"2014111703", "Customer":{ "Name":"Comprador crédito simples" }, "Payment":{ "Type":"C...
asked by 19.09.2018 / 20:28