Questions tagged as 'javascript'

1
answer

JavaScript Request POST

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery.post demo</title> <script src="https://code.jquery.com/jquery-1.10.2.js"></script></head><body><form...
asked by 15.12.2016 / 18:06
1
answer

Vertical carrousel draggable in JavaScript or Jquery

I'm in a html5 mobile app project. One of the tools in this application works like clockwork. I try to set this clock by dragging the buttons up and down. Setting the numbers for me to create an alert using the seTimeOut or setInterval functi...
asked by 20.12.2016 / 20:59
1
answer

Upload PHP script without refresh

I have a problem here that I think might be easy to solve, but I'm having trouble. I'm having trouble controlling access to a site that is paid for okay, so the user signs up and has access to the site, OK. The problem is that it can pass...
asked by 20.12.2016 / 16:33
1
answer

Populating Chart.js with AJAX request data

Hello, First I'll give you a brief introduction to how my system works so you understand exactly what my difficulty is. Maybe it gets a little big, I'm sorry. Within my system, when the user logs in, a query is made to my database throug...
asked by 20.12.2016 / 19:55
1
answer

Refresh dropdown when pop-up window is closed

In completing a form I created shortcuts to add data in dropdowns list but when I close the pop-up window, refresh the entire page. I'm using the following code:         window.onunload = refreshParent;         function r...
asked by 13.12.2016 / 12:34
1
answer

How to request access token from server, only via frontend in a secure way, without human interaction?

Good people. I caught it here: I have an application on the frontend of a server, which needs to communicate with a Rest API on another server, without the client having to log in. The app that will request or send whatever it takes to authen...
asked by 13.12.2016 / 15:27
1
answer

Working with identical forms on the same page

Hello, I need to insert the same form twice on the same page. Both call javascript function to fill fields automatically. Example, select combo 1, then fills combo 2, select combo 2, and fills combo 3 via ajax. As each field can only have one id...
asked by 03.02.2017 / 13:15
1
answer

How to register user with editable mode disabled using angularjs and xeditable?

I would like the data to have already triggered the save, or something like that, when it comes to adding the user, it appears without being in edit mode. See my example on FIDDLE . How could I solve this? I'm using this library ....
asked by 03.02.2017 / 14:08
1
answer

How to open file with window.open in a post?

My controller returns two file types: pdf and excel. return File(stream, "application/pdf"); return File(new MemoryStream(ep.GetAsByteArray()), "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $"Relatorio.xlsx"); When t...
asked by 02.02.2017 / 17:04
1
answer

Application made with Xamarin does not execute JavaScript

I've developed a small application with WebView in Xamarin, it loads the page correctly, but is not running JavaScript, JavaScript with webView.Settings.JavaScriptEnabled = true; but no success, I have no experience with Xamarin , d...
asked by 03.02.2017 / 13:47