Questions tagged as 'javascript'

1
answer

Visual to zoom in / out using Google Maps API v3

I'm using the Maps API v3 but one of the effects I see on the Google page I'm not able to reproduce. This effect is the visual aid to zoom in / out, when you zoom in the Google Maps page there will be 4 animated red corners (closing or openin...
asked by 03.02.2014 / 03:55
4
answers

Accessing form fields generated dynamically.

I have an equipment control system. In this system, while the user fills out the form, he has the option to add another field to register another equipment that will be associated with a client. To do this functionality I used a code in javascri...
asked by 30.01.2014 / 16:23
1
answer

"TypeError: Crud.Select_products is not a function", I am getting this error when trying to access a method of an exported class, in NodeJS

Server.js file var express = require('express'); var Crud = require('./database/Crud'); var app = express(); app.get('/api/home', function(req, res){ let results = Crud.Select_products(); res.send(results); }); app.listen(5000, (...
asked by 02.01.2019 / 20:48
1
answer

How to change a state in the following scenario with the OnChange event

I have a component and the following state: this.state = { form : { name : '', username: '', email: '', phone: '', address: { street: '', suite: '', city: '',...
asked by 05.01.2019 / 02:42
0
answers

Slice () Jquery + loop php ("load more comments")

I have the following problem, I have created a method to load more content or the famous Load More . I used slice() in jquery with loadcomentid to make the application, however when I put a query in the php bank inside the slice s...
asked by 02.01.2019 / 17:49
0
answers

Pass values from table to update

I have table , which is filled by the bank and can be changed via ajax , changed only in table and unchanged in the bank. What happens, is that as the data can be changed, I need to send the changed new data to save, I'm passi...
asked by 02.01.2019 / 20:26
1
answer

Action 'onlogin' - Facebook Button Plugin

I have an App on Facebook, and the homepage has a button for if the user is not logged in to Facebook, so do. This button is a plugin from Facebook itself. I've read all of the documentation for this plugin, and this login button specifically ha...
asked by 21.05.2014 / 20:12
1
answer

Send a modelView as a parameter to a modal bootstrap

When looking for how to render a partialView in a modal bootstrap , I found this link: Using Bootstrap Modal window as PartialView , but I need to make a POST request by clicking the button that opens the modal. That is, I need t...
asked by 20.05.2014 / 17:02
1
answer

Do not run autoplay video like bg on mobile

My site has as bg a video that is in autoplay . However, when on mobile, I want this video not to run, leaving only pause to show a background image. If I put display:none in CSS it gets a bg black. <...
asked by 23.05.2014 / 20:04
1
answer

Updating only a tr with ajax with data returned from mysql

This is the HTML code assuming it has already been processed by PHP. <table width="900" border="0" cellspacing="0" cellpadding="0"> <tr> <td>nome</td> <td>endereço</td> <td>tel</td>...
asked by 21.05.2014 / 03:42