Questions tagged as 'jquery'

1
answer

Get event click inside of iframe with jQuery

I'm using Google Forms to do a satisfaction survey on a website. On this site I show a bar at the top, asking the user to participate. If it closes the message, a cookie that expires in 24 hours is saved so that it no longer sees the message o...
asked by 21.08.2015 / 03:35
2
answers

When selecting option displays div with

I have a question, since I do not handle anything with PHP , I would like someone to help me with how to mount or implement a Jquery that I found. In my case there are 2 selects , one that would be dubbed Estado and anoth...
asked by 18.05.2015 / 17:18
4
answers

How to leave all items in a menu with equal size regardless of quantity?

I want to make a menu that always leaves the items with proportional sizes, occupying all available width and adapting. .top-menu ul { width: 100%; } .top-menu ul li { display: inline; list-style: none; } .top-menu ul li a...
asked by 05.02.2014 / 20:27
1
answer

Refresh DB table when clicking on a li element

I'm developing a mobile application using jqMobile and Ruby. How to update a database table by clicking on an item in a list. My list is generated like this: <ul data-role="listview" data-filter="true" data-filter-theme="a" data-divider-...
asked by 01.06.2014 / 17:42
1
answer

How do I convert formdata to json?

I have the following code: var form = new FormData(); form.append('user',$("#user").val()); form.append('password',$("#password").val()); var data = JSON.stringify($(form).serialize()); but the var 'date' is getting null, look at the exampl...
asked by 16.05.2017 / 15:56
3
answers

Validate field name - Jquery

I would like to know how do I validate a field name, to accept:    Letters (Uppercase and Lowercase)    Numbers    Spaces    Maximum 30 characters    There can be no double space    There can be no space at the beginning and at the end...
asked by 05.04.2017 / 02:08
2
answers

Jquery animation manually

I would like to have an idea how I can make a type of SLIDE now with user interaction. I can not find something on the internet to build on, and I have no idea how to do it! In the code I have a class slide1 that makes onclic...
asked by 07.11.2016 / 19:13
1
answer

How to reload the page after the message close using Hubspot Messenger (). run ()?

I'm doing an MVC app and need to do a reload after the message close (successful or not). How can I do this? CodePen for testing: link HTML: <button class="btn btn-danger deleteButton" id="btnAction" data-url="https://jsonplacehol...
asked by 09.01.2017 / 18:05
1
answer

Access through JavaScript / Jquery an element that came from AJAX after the DOM LOAD

I am developing a WEB APP with AngularJS, there is an element that is coming to the DOM after its loading, I am trying to write an event: $('elemento').click() But when you finish rendering the page the element does not yet exist because it...
asked by 16.04.2015 / 00:33
1
answer

Image rotation does not work correctly in Chrome

I'm trying to use a function in jQuery, and it works fine in Firefox but in Chrome it just does not start, it stalls in the first image and it does not go to the rest. Could someone give me a light on how do I make it work in Chrome, too?...
asked by 05.05.2015 / 01:58