Questions tagged as 'javascript'

1
answer

How to insert line break in textarea in text inserted via jquery / javascript?

I have a textarea and would like to list some items in it on each line. I am already inserting the text normally in the textarea and I separate the items in commas currently: nomUgs = selUgs.join(", "); Instead of this comma I wanted to...
asked by 17.06.2014 / 16:41
2
answers

Pulling PHP information via AJAX with jQuery in json format

I have a jQuery code that creates a calendar that lets you leave reminders on the date. The code is as follows: var calendar = $('#calendar').fullCalendar({ slotDuration: '00:15:00', /* If we want to split day time each 15minutes */...
asked by 23.06.2014 / 02:59
2
answers

Why does the Chrome console return 8 when I type 010?

Would you know to tell me why when I type in the console 010 and press enter it returns me 8 ? and if I type 0100 it returns me 64 .     
asked by 26.03.2014 / 21:02
2
answers

How to search for images in Google with JavaScript?

I'm developing a webpage where it was in the project's interest to display some Google images, where they would be displayed from some significant name. I was reading something related and saw that Google Image Search API has been discont...
asked by 18.05.2014 / 00:10
1
answer

Loading animation

I have a code that does a loading animation before starting a page. css.css .preload{ position: fixed; z-index:99999; top:0; left:0; width:100%; height:100%; opacity:1; background-color:#fff; /*background-ima...
asked by 03.07.2018 / 13:52
5
answers

Return all CSS classes with Regular Expression

I need to return all classes found inside a CSS string, so that when the expression conflicts with: div.classe1{/*...*/} .classe2 div a{/*...*/} .classe3.classe4{/*...*/} .classe5{/*...*/} Return in an array (with or without the dots before...
asked by 24.02.2014 / 21:14
1
answer

In a checkbox list, know which ones are checked

In my application I'm printing a list of data coming from the database, and in each item in the list I'm putting a checkbox, as the following image shows: NowwhenIclick"Start Copy" I want to select the items in the list that are selected, and...
asked by 15.04.2014 / 13:18
2
answers

How to animate the divs and caption arrangement, when hovering in one of these elements?

I'm creating a website, they asked me to play a joke on the team part. According to this image, when it is done: hover in one of the parts, all text and image are sorted: Idonotknowhowtotakeoffthisboot,becausejavascriptisnotmystrong.Iwishyouc...
asked by 20.03.2014 / 21:54
2
answers

Remove banner depending on window size

I'm using a template with the Responsive layout. I have a banner on the right side of a website. What I'm doing is that by scrolling the page the banner accompanies the page. When I lower the window, the banner goes over the content. What he wan...
asked by 06.03.2014 / 10:52
2
answers

Best way to get HTML + text from an array

Function I am using: $(".push-description-top").each(function() { var text = $(this).text(); var carac = text.length; if (carac > 0) { var query = text.split(" ", 14); query.push('<a href="">... Veja mais...
asked by 23.10.2017 / 18:18