Questions tagged as 'javascript'

1
answer

Automatic Scroll Vue.Js

Clicking on one of the small or large buttons displays the container with the cards (Small Mix and Small Fruits Only). I need to display the page scroll down because when displaying the footer covers the cards. I created the scrollToEnd f...
asked by 02.11.2018 / 16:10
1
answer

Login with AJAX in PHP

I'm studying about mobile applications, hybrids, I'm using the phonegap and I'm having a problem. I can not log in, ajax sends the variables directly and php returns a value but ajax is not capturing this value to verify whether or not the user...
asked by 02.11.2018 / 19:07
0
answers

Increase, Decrease, and Print button

I'm using bootstrap and by default the font is 1rem when I click the print button it does not take the default size of the document it takes a very small font to mount the increase and decrease font button I'm using a jquery Jfontsize will hav...
asked by 16.11.2018 / 16:51
0
answers

Change DjangoForm fields using JS

class AdditionalForm(forms.ModelForm): class Meta: model = Additional_information fields = [ 'have_disability', 'name_of_disability' ] have_disability = forms.ChoiceFiel...
asked by 16.11.2018 / 17:11
1
answer

Understanding this use of addEventListener in Cordova

Hello, studying a little about Cordova and PhoneGap, specifically the default application HelloWorld, I looked at the line: document.addEventListener ('deviceready', this.onDeviceReady, false); which is in a js (index.js) file. So, as far as I kn...
asked by 06.11.2018 / 03:56
0
answers

Logging In Dynamically

Hello, I have a mobile app that uses html, css and javascript and works as a simple web system interface. This app uses an iframe on the main page to open this system. The web system has two login and password pages and one for data visualizatio...
asked by 24.10.2018 / 16:11
0
answers

Generate and control size of a PDF file with JS

Good evening guys! I wanted to know how do I work with PDF via javascript! My idea is relatively simple: I want the user to upload images that will generate a PDF, and if the PDF is more than 5MB, it will split the PDF. Imagine that...
asked by 06.11.2018 / 01:14
1
answer

Javascript variable in the Django template

But I'm not sure how to do that. Example of what I want to do: <!DOCTYPE html> <html> <body> <script> let showMessage = false; </script> {% if showMessage %}...
asked by 24.10.2018 / 22:52
0
answers

Requirejs with Jquery how to use Jquery Plugins

I'm using requireJS to import my javascripts, however when I run the code below, it gives the following error: Uncaught TypeError: $(...).hashchange is not a function" (function( undefined ) { 'use strict'; require.config({...
asked by 24.10.2018 / 22:57
0
answers

How to pass variable in require

I'm trying to pass a populated variable through the database, containing my route to require, but it's giving the following error: "Cannot find module 'views/Cadastros/Usuario'" And these are the forms that I tried to import and unfortunate...
asked by 29.10.2018 / 14:21