Questions tagged as 'javascript'

1
answer

How to change the folder in the jQuery File Upload plugin?

How to change the folder where the jQuery File Upload plugin looks for the images to be displayed? Currently the folder is the "files" but I did not find the location where it is indicating the folder being searched for.     
asked by 29.04.2014 / 19:45
1
answer

Clear the fullcalendar background

I'm using fullcalendar for a system where the user clicks on a day to bookmark a calendar. I need to leave the background of the day clicked with a certain color and this I found in the documentation how to do and is simple even, my problem he...
asked by 02.05.2014 / 14:51
2
answers

Change tab of the fields of a MacAddress

I would like to implement an event that would correct data that would come out of the standard, replacing the separator with : and putting the letters in lowercase. For example, the user types 00-25-66-F0-21-11 , would be corrected...
asked by 04.12.2018 / 18:16
2
answers

Effect used in Tecmundo?

Is the effect of using Tecmundo on page transitions done in parallax? If no one knows which library is used? Example: link Open the article and give scrool to the bottom of the page.     
asked by 30.05.2014 / 01:14
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

Convert value to number returns NaN

I'm reading a book about JavaScript, but in a certain part the code in the book does not work. The part is: var qtyElements = produto[i].getElementsByClassName("quantity"); var qtyText = qtyElements[0].value; var quantity = moneyTextToFloat...
asked by 14.12.2018 / 16:20
2
answers

Disable Scroll for a period of time

I have a function that creates a loading block that lasts 1 second on the screen, so when I call this function, the page scroll is disabled for 1 second as well. After that 1 second the scroll returns to normal. Image of the animation I am re...
asked by 25.10.2018 / 16:34
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

validate all form fields with JavaScript

Good morning, how are you? I'm starting in JavaScript and I need to validate all fields in the code form below through this one. I was able to validate the first 6 fields, radio missing and checkbox. Any help? Follow the code below: &l...
asked by 29.10.2018 / 17:12