Questions tagged as 'jquery'

1
answer

Enable input when clicking the button inside the same row of a table

In the above table row I have two disabled inputs in columns vlcontrato and valor . I would like that when I click the alterar button these two inputs are enabled so that I can edit them. Since they are on the same lin...
asked by 02.05.2014 / 13:09
1
answer

Opening page via AJAX with Lightbox

I'm using AJAX and Lightbox to load a page. I will not post the whole code but the link I use to enable Lightbox and load the AJAX page is enabled like this: <a class="lightbox" href="#" onclick="abrirPag('editandomi.php?I_POST=<?php ech...
asked by 23.05.2014 / 07:23
1
answer

How to make the Youtube Music fixed menu effect

I would like to bring this effect of the Youtube Music app menu to my site. Basically it rolls along with the page when descending and appears again when ascending, fixedly. Mycurrentattemptisnotsimilar,whengoingdownthepagethemenugoesupandwh...
asked by 12.12.2018 / 00:40
1
answer

Select and display character in more than one div

I'm working on a theme for Ghost and in the article view (blog feed) the title of the article and the summary will be displayed as follows: ForthisIusethefollowingcode: var getText = $('.title').html(); var sliceText = getText.slice(0, 1);...
asked by 01.01.2019 / 01:17
1
answer

Adjust the middle slide according to the proposed layout

I'm trying to adjust the slides according to the proposed layout, but I'm trying hard. I'm using the Owl Carousel plugin, I looked for some plugin on the internet that contains this option, but I did not find anything. The layout follows:...
asked by 19.12.2018 / 15:02
3
answers

Format date DD-MM-YYYY string jquery [duplicate]

I have a 'DATAADMISSAO' field that receives DB information in the format below: Iwouldliketoinputinthefollowingpattern:DD-MM-YYYY.Belowisthejavascriptthatinsertsthedataintothefield:functionsetSelectedZoomItem(selectedItem){varinfo=select...
asked by 30.10.2018 / 20:27
1
answer

How to insert HTML content into div with jQuery without using \ "(backslash and double quotation marks)

I use a CMS called uCoz and it has a <?$RELATED_ENTRIES$(5)?> variable that displays postings related to the page my visitor is reading. I would like to put the related links between the post text, but it does not work for CMS syste...
asked by 08.02.2014 / 15:34
1
answer

conflict with googleapis jquery

I am importing several apis to the same site, the problem is some cease to work. For example, one api to do an autocomplete, another to make an effect in the menu and another to a feedback box. Is there any way around these conflicts? I'm callin...
asked by 12.02.2014 / 17:43
2
answers

ajax duplicating div

The $.ajax function is working correctly, but the return of the data being inserted into the div is being duplicated when the user clicks the button several times. I tried to use .remove() , e.preventDefault(); , stopPropa...
asked by 18.02.2014 / 19:06
1
answer

Copying one Datepicker to another and incrementing one year (jQuery UI)

In a project of mine, I have two fields set to datepicker (jQuery UI). Only the first one is editable ( InitialDate ). The second ( FinalDate ) must have the same value of InitialDate plus a year. If I use the follow...
asked by 11.02.2014 / 15:14