Questions tagged as 'javascript'

1
answer

Click and act, click again and return to position / Jquery

I made a button to open a configuration screen, when I click open the screen, and the button changes from "Configuration" to "Back" but I would like it when I clicked again to write "Configuration" . Can anyone help me? Preferably in jQ...
asked by 17.02.2018 / 20:36
1
answer

How to automatically generate and redirect the link in the header

I need to generate a system where I have a template page (the fb profile for example) and that will be fed by my database with the information according to a user ID. My problem is: I do not want the link of the passed parameter (id) to be expos...
asked by 17.02.2018 / 03:40
1
answer

Create search box in google docs

Good, I have this VBA code and I needed to build a Javascript for Google Docs that does the same thing. Is it possible to convert VBA to Javascript? Thank you. Private Sub CommandButton1_Click() Dim F1 As Worksheet Dim intervalo As Range...
asked by 09.02.2018 / 12:45
1
answer

Uploading images with element addition in the image

Hello, I need to upload where, in the image, the client can add a visual element to mark something. I'll need something via javascript to do the visual interaction before the upload (simpler part). Does anyone know how to do this? For exam...
asked by 10.02.2018 / 03:01
1
answer

jQuery plugin with trigger in click event

jQuery plugin: (function($){ $.fn.extend({ meuPlugin: function(){ $('body').on('click', this, function( e ){ console.log( $(this).attr('href') ); return false; }); }...
asked by 12.02.2018 / 00:14
1
answer

Copy text to clipboard using VueJS?

In the return of a request the digitable line of a ticket is coming and I assign this digitable line to a variable, but what I want to do now is to copy that digitable line to the clipboard, so that the user can paste (ctrl + V) anywhere else....
asked by 09.02.2018 / 18:11
1
answer

Webpack + sass generating style.css

Because the webpack at the time of extract in .scss files, it creates the file styles.css in the < strong> dist / css , but it removes the quotes and dots from the path of a photo for example: background: url("../img/back.jpg") . Lea...
asked by 12.02.2018 / 14:08
2
answers

How to store return on Ajax request in a variable

   I tried the following code but it does not work function getCategoria(id){ var categoria; $.ajax({ url: "../control/anuncio/index.php", data:{ method: 'get_categoria',...
asked by 12.02.2018 / 03:07
2
answers

List Json in a Select with Jquery

I am not able to list the data of a Json in a Select My Jquery code looks like this: $("#cidades").change(function () { var options_escolas = ''; var cidade = $("#cidades").val(); $.ajax({ url: 'api_es...
asked by 26.02.2018 / 21:15
1
answer

Buttons positioned at the bottom of the page go up when the mobile device keypad appears

I'm developing a responsive page that has a search field at the beginning and in the footer two buttons with absolute positioning, on mobile devices after clicking the input the keyboard is displayed and pushing the buttons up, is there any way...
asked by 26.02.2018 / 23:05