Questions tagged as 'javascript'

0
answers

Write data to the bank [closed]

Hello, I have a function in javascript that adds fields to my form. And I want to save the values of these fields in my database. The field code is these. <div><input type="radio" name="opcao2" value="Mae"/><label>...
asked by 14.01.2016 / 13:46
2
answers

How to call a function only once with mouse scroll?

I need when the user rolls the mouse scroll up or down, a specific function is triggered only once ... I'm using the following code but it does not meet my needs: var stopScroll = false; $(window).scroll(function (event) { var scrollAt...
asked by 20.05.2016 / 21:32
1
answer

Select link menu

I am using javascript to select the menu to open the page that I selected, the menu is already getting selected but it is not opening the pages. And the click event is working when I click the menu. $(document).ready(function() { $('ul.form li...
asked by 21.05.2016 / 15:03
1
answer

InfoWindow is always the same in the markers all (javascript)

I'm creating the markers as follows: var contentString = '<div id="content">' + '<div id="siteNotice">' + '</div>' + '<h1 id="firstHeading" class="first...
asked by 20.05.2016 / 16:49
0
answers

I can not write XML document (and neither XSL) in variable - JavaScript and jQuery

First time asking a question, then sorry if I'm not following some standard, but I need to know how I do it urgently: I have an XML document and 3 XSL and I'm putting together a small CV that can show the recorded XML data in 3 different view...
asked by 02.12.2015 / 00:09
0
answers

Naming polygons on google maps

I'm using a google maps api to generate some fields and I'd like to generate their names in the polygon itself as soon as I open the map instead of generating it in the balloon. codethatgeneratesthepolignos:varmap;varinfoWindow;functioninitMap(...
asked by 04.08.2016 / 15:18
2
answers

Convert View with CSS, JS and PDF Images

I have a view in Laravel where I load various graphics. This view is made up of HTML, Images, CSS and JS. I need to convert (export) this page to PDF via a JS or PHP function. I can not find a library that faithfully "copies" the page an...
asked by 09.08.2016 / 19:37
1
answer

AJAX request after other AJAX requests

I need to make an AJAX request after any other AJAX request. However, using the $(document).ajaxComplete() method, for example, the request would end in an infinite loop. Is there an easier way to do this request without calling it...
asked by 09.08.2016 / 18:54
1
answer

With generating the client_secret for an oAuth2 API

I'm using NodeJS, but I believe the question can be useful in other languages as well. The oAuth 2 specification does not determine the length of the string to be generated, it only informs this VSCHAR = %x20-7E It is the sequence of AS...
asked by 29.12.2015 / 13:21
1
answer

Load page already updated using method get jquery mvc asp.net

I have a demo page where I organize a to-do list .. I wanted it to be refreshed when it was updated with the tasks already posted earlier <html> <head> <title>Demo</title> <script src="~/Scripts/JavaScript....
asked by 08.01.2016 / 16:21