Questions tagged as 'jquery'

2
answers

How to insert data with JSON and MVC5

I have a registration screen where the user can enter as many emails as he wants in each record. For this, in my View I have the following code <div class="form-group"> <button type="button" id="btnAddEmail">Adicionar</b...
asked by 21.08.2017 / 22:28
1
answer

Parameter functions for click event do not work

I'm trying to rename a text with the click event and then "swoop" in the second click, I got the hint from a code I'd already seen on codepen , I'm passing two functions to the click event, but only the second one works, code: $('.texto')....
asked by 22.07.2017 / 01:55
1
answer

How to make a jQuery validator

Hello, I created a "separate" field from the rest of my form, and I wish it had the same "face" as the rest, I made a validation for it, to check whether or not an element already exists in the database of data, it shows the message equal to the...
asked by 23.08.2017 / 21:41
1
answer

How to import external Jquery?

Good afternoon, dear ones. I'm having a problem importing the external javascript, (in the Jquery library case) The files are in the correct folder but when I call through src="" nothing happens. From this, thank you for your help....
asked by 12.02.2017 / 00:35
1
answer

Problems with IF loop

I'm having problems creating a if loop in jquery so that when the carousel runs the carousel() function it loop if , the problem is that it only runs if %, and then stop the loop. In this case, you were using...
asked by 15.02.2017 / 13:01
1
answer

how to close a popup with javascript

Well, I've put up a function to open a popup, and I need to put a link inside the popup to close it. Does anyone know how to do this? My code to open the popup function popup(URL) { var width = 1024; var height = 700; var left = 30; var top...
asked by 13.02.2017 / 12:00
2
answers

Transform text from string to image

Hello, I'm developing an app, and at some point I need to get a string that contains data from a voucher and turn that text into an image of the voucher and then share that image via whatsapp. I've never done anything like that and after some tim...
asked by 19.02.2017 / 19:26
1
answer

How this jQuery function works [closed]

I'm wondering how this function works. It has function of when someone by the iphone click on the link it does not stay in exist and yes direct to link. demo.autoclick = function() { $('a').on('tap', function(e) { var el = $(this)...
asked by 30.08.2017 / 18:02
1
answer

Doubt - Function to clear img with javascript does not work

I need to clear a img field and for this I am using the code below, but clicking on button javascript does not work because the page receives a refresh. I looked at the browser console and there was no error message ... Can you...
asked by 23.08.2017 / 23:42
2
answers

Identify the correct textarea to send by pressing Enter?

I had "solved" a problem sending a textarea by pressing Enter in my application, but it ended up only sending it to the first textarea of the page. The application loops registered posts in the database and for each post there is an area for...
asked by 26.02.2017 / 18:10