Questions tagged as 'javascript'

1
answer

Displaying 'loading' warning when update iframe - html

I'm having trouble with an application, where the screens take a long time to redirect. To get around the problem, I created a page with only an iframe, which contains navigation between pages. The biggest problem is that it is not possible t...
asked by 28.08.2017 / 15:02
3
answers

Read json via http by angularjs

I'm trying to read with an AngularJS / Phonegap application an HTTPS address that returns me a JSON ( link ). I'm getting this error:    XMLHttpRequest can not load link . Response to preflight request does not pass access control check: In...
asked by 29.08.2017 / 14:49
3
answers

Interpret data from an external file to use in Autocomplete

I have the following file: index.php       <script type="text/javascript"> function montaAutocomplete(source) { $( function() { var availableTags = [ source ]; $( "#autocomplete" ).autocomplete({ source: avai...
asked by 31.08.2017 / 15:22
1
answer

How to inject a dependency of a service itself, in a certain syntax?

Imagine a traditional service injection in an angular applicationJS <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script><body><divng-app="meuAp...
asked by 30.08.2017 / 21:31
1
answer

Capturing the date of the input type date

I have one <input type="date" class="form-control" name="data"> In Jquery I need to capture that date and then send it to DB var data = $("#data").val(); But the value only returns 'undefined'. How do I get the value of an input...
asked by 10.01.2018 / 12:56
1
answer

Best way to capture the progress of an upload

Hello, I would like to know the best way to capture the progress of an upload using XMLHttpRequest.     
asked by 10.01.2018 / 00:30
1
answer

How to allow the user to add a new option in a select?

I need to mount a select where the user can add new options, so I need the select to allow typing and a button next to it would call the function to include in the list. Home How can I do this? I have just the basic select with the link that sho...
asked by 14.09.2017 / 17:04
3
answers

Go get the previous value of a sql table in php?

I'd like to find a way to know how to do what I want. I have a news platform and would like you to introduce me to the previous video that has been inserted. It seems simple because I could just put it to go get (id)-1 and get the valu...
asked by 15.09.2017 / 18:59
1
answer

How to get the data of a specific page on the web?

I want to create a script that gets data like bugs, issues and others from the following page Spring Framework , unfortunately I do not have any code to display because I do not really have a clue how to get this data. The question is: How t...
asked by 17.09.2017 / 22:47
1
answer

Show / hide div when selecting option from a select

I need to make a selection of a select with a div when selecting the option. I'm using angular, how can I do this?     
asked by 09.08.2017 / 16:00