Questions tagged as 'javascript'

1
answer

ion-card horizontal

Is there any way for the ion-card to grow horizontally and not vertically? It is populated by data coming from the api <ion-card *ngFor="let filmes of lista_filmes_popular"> <img [src]="'https://image.tmdb.org/t/p/w500/' +...
asked by 30.10.2018 / 20:37
2
answers

Change values of objects coming from the api?

Is it possible to change values in the frontend to api? For example, I have an api that returns this to me: "data":[ "nome": "sp", "nome": "mg", "nome": "rj" ] Then, for example, I make a simple request of it using GET this.axio...
asked by 21.11.2018 / 20:55
1
answer

Calling JS loading toolbar in place it should not - SUMMERNOTE

I think I'm pretty bad with js and their derivatives. But I'll try to make the most of my mistake. I have a navbar with two options. <ul class="nav nav-tabs" data-tabs="tabs"> <li class="nav-...
asked by 21.11.2018 / 19:47
1
answer

How to do external file request NodeJS

How do I request an external file with NodeJS? In case it would be an XML ... link     
asked by 21.11.2018 / 21:14
3
answers

PHP / JS - How to display an alert () with the value of $ _SESSION

Good evening guys! I needed help with the alert (); , I want to display on the index.html page, a alert (); showing that the data was inserted correctly, reading some posts in the forum, gave the idea of the index.php (where it is proces...
asked by 21.12.2018 / 23:49
2
answers

Validate form - Step by Step (Javascript)

I'm making a form based on this template: link But I need validation done for the fields! You can not go to the next STEP until this validation. I'm not finding a solution for this type of form, what form to validate? I believe it is...
asked by 26.12.2018 / 14:16
1
answer

How to copy class values to another class in Javascript?

<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>Protipo Software de Evento</title> <link rel="stylesheet" type="text/css" href="css/style.css"> <script src="https://ajax...
asked by 03.12.2018 / 02:11
1
answer

Error 500 when performing an authentication request with AdonisJs

I have a SessionController, which is the method that performs the user authentication process in the application. class SessionController { async store ({ request, response, auth }) { const data = request.all() const token = await au...
asked by 03.12.2018 / 00:33
1
answer

Pass parameter to route in javascript in laravel

Good afternoon, I have a question about parameters in laravel that I did not find on the site, I have a route like this: Route::get('busca/{id}', 'MatriculasController@busca'); that passes a parameter to a method in controller...
asked by 30.11.2018 / 21:14
2
answers

Check if a user registered at the bank has cpf already registered

Hello, I have to check in the database if a logged in user already has cpf registered and return whether it is false or not. I use the codeigniter in the application. I'll send the codes. CONTROLLER: public function check_cpf_doctor() { $c...
asked by 01.12.2018 / 23:28