Questions tagged as 'javascript'

0
answers

Import or Require qs.stringify inside JavaScript script

Is it possible to apply a import or require in querystring.stringify to use it inside a pure javascript? What is the ideal way to implement this? Ex: <script> var qs = require('qs'); let data = { email: email, password: p...
asked by 18.09.2018 / 02:02
2
answers

Calling the Javascript function from the parent file from within an iframe

I have 2 files: index.html iframe.html The file index.html has an iframe ( iframe.html ). There is a javascript function in the file index.html function testePai(){ console.log("teste da função...
asked by 07.05.2014 / 19:21
0
answers

Owl.Carousel action of NAV buttons

Owl.Carousel's duplicate gallery causes nav to move the number of galleries instead of 1 position at a time. The default Nav works by walking from 1 in 1 position. In the custom Nav, the number of tabs interferes with the floor of the...
asked by 18.09.2018 / 09:31
1
answer

Check and display message if the date is less than the current date

I have a field in my system, where I would like to display a real-time message if the date entered is earlier than today's date. It would not be a validation, just show the alert. I am having difficulty with the condition and syntax for not havi...
asked by 19.09.2018 / 22:42
0
answers

Pull txtarea from html editor via select

Good afternoon, I'm having trouble correctly displaying the contents of a select within the html ckeditor editor. Code below: <form> <div class="form-group"> <label for="exampleFormControlSelect1">Selecione a página&l...
asked by 24.09.2018 / 19:36
0
answers

Export too large table

I am trying to export more than 15,000 lines to excel in html (they are within table ), however it is not exporting, it only opens a blank browser tab. When I put fewer rows, it exports normally. Follow the javascript: function fnExce...
asked by 24.09.2018 / 20:12
0
answers

Angular - Date Picker does not update the selected month

I am developing a calendar in my application in Angular 5. <my-date-range-picker *ngIf="this.opened && view=='date'" class="date_picker" [options]="date_picker" [(ngModel)]="this.model" (dateSelected)="onDateRangeChanged($even...
asked by 24.09.2018 / 18:41
0
answers

Browser opening JSON

I have a validator that returns a JSON to an .js that reads this JSON and displays the error messages or releases the submit. However, sometimes the browser opens the JSON itself instead of displaying the error messages. Has anyone seen anything...
asked by 18.09.2018 / 14:14
0
answers

How to edit using AngularJS

I am studying AngularJS and I was able to create a table receiving the MySQL database data. Now I need to learn how to edit the data. I was able to put a modal and clicking the edit button opens, but I do not know how to pull the data. d...
asked by 18.09.2018 / 16:25
0
answers

AngularJs $ scope.variable in function is returning undefine

I started to study about angular and realized that when trying to get the value of a variable inside a function its value is being returned as undefined . Only when I try to get the value does this occur, now if I try to set the value it works...
asked by 18.09.2018 / 14:37