Questions tagged as 'javascript'

1
answer

Uncaught Error ReferenceError: Materialize is not defined

Hey, how are you guys? I'm developing a project with Materialize and this project is giving error in JS, can you help me? I'll be putting the following code: <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/mate...
asked by 28.05.2018 / 16:44
0
answers

Convert an HTML Code string to an HTML Tag

Good morning. I have the following problem: I am integrating between the company's mobile application and the VIMEO platform. I'm using oEmbed-type integration, and their documentation ( link ), when I make the request an XML is returned in w...
asked by 25.05.2018 / 17:08
1
answer

Fibonacci in JS with arrays

Hello, I'm trying to make a code in JS that shows the value of fibonacci in the chosen position using vectors but I do not know why I'm not getting it, does anyone help me what I'm missing? (The exercise that prof passed is about vectors, I know...
asked by 26.05.2018 / 02:50
1
answer

Retrieve item index into list to delete

I'm trying to make a demo application for bookmarking (Bookmarks). I can retrieve in a list what I type in the 3 inputs I have on my screen (Description, URL and tag), and I can include as many items as I want in this list. But I can not retr...
asked by 25.05.2018 / 05:11
0
answers

JS Function Validating Email for IE and Edge

I have a JS code that validates email perfectly and is in use on the portal. No then this function does not work in the IE browser and / or Edge. function validaEmail(email) { var regex = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66}...
asked by 05.06.2018 / 20:47
0
answers

Identify type of operation with javascript

How can I identify when the click is "From:" "To:"? I have a code to add a value from a database field, to another field, follow the example: HTML: <div class='row justify-content-center'> <div class="con...
asked by 05.06.2018 / 22:14
1
answer

Problem logout with Google social login

I'm having trouble logging out with Google social login. I was able to set the login and execute successfully receiving the return of the name, email and photo, and redirected to the dashboard successfully. In the dashboard I entered the sett...
asked by 05.06.2018 / 21:12
0
answers

Is it possible to open php page within modal?

On all systems with graphics I did, there was a page that took the records from the database and displayed each record with a button that redirected to its particular chart page. This time I wanted this button not to redirect to another page...
asked by 05.06.2018 / 14:37
1
answer

Update screen data after an asynchronous call Angular 1.6

I have the following problem! I have a form with an id field. this guy is passed to my GET method which is asynchronous. The data comes back perfectly from the server (line $scope.produto = resposta.data ), but the data is not updated on t...
asked by 08.06.2018 / 02:42
1
answer

Problems loading a DataTable in Page Load with JavaScript

I'm a beginner with JavaScript and I'm having a problem when the DataTable of my Index is loaded. IfIopenasection,inmyIndex,andputtheJScodeinsideit,everythingworksperfectly. @{ ViewData["Title"] = "Gerenciar Situações de Pessoa"; }...
asked by 08.06.2018 / 12:58