Questions tagged as 'javascript'

4
answers

Fade color transitions in one word

I have a code that is doing color transitions, it has to leave a fade in this transition, that is, so it does not change so "dry", I'm doing with JS , is there any CSS that does it? Anyway, I wanted the fade to be executed in color...
asked by 06.04.2015 / 14:50
3
answers

Pass API Google Maps for JPG image

I have this code below: <iframe width='500' scrolling='no' height='200' frameborder='0' id='map' marginheight='0' marginwidth='0' src='https://maps.google.com/maps?saddr=São Paulo - SP, Brasil&daddr=Rio de Janeiro - RJ, Brasi...
asked by 04.04.2015 / 17:18
3
answers

Change active menu item depending on 'scroll' [closed]

Does anyone know how to do the effect that activates / deactivates menu items depending on the scroll? Like for example in the PHP of the Right Way site, the menu items activate / deactivate as the page scrolls. I tried to analyze the sourc...
asked by 25.05.2016 / 22:01
1
answer

What is Native Script?

I recently read about Native Script, wanted to know a little more about it and how it works. What is Native Script? What are the advantages? How does it work? Is it worth using? While your learning curve?     
asked by 30.07.2016 / 13:30
4
answers

Is it possible to include a JavaScript file inside another JavaScript file?

Is it possible to include a JavaScript file inside another JavaScript file? Similar to @import in CSS or include of PHP?     
asked by 05.07.2016 / 16:34
2
answers

Get Id and move to another function on the click button

Galera, I have the following problem, I have a table and every record I have a link. By clicking this link I get the ID as follows and call a modal. <script> $(document).on("click", "a", function(){ if ($(this).hasClass("cliqu...
asked by 22.11.2016 / 14:45
4
answers

Problem with functions being executed multiple times

I'd like to know how to fix this problem. Example: I have a fadeIn / fadeOut function. The event that triggers the function is the onclick on some element. The question is: How do I prevent when I double clicks or more, the function runs ever...
asked by 13.10.2016 / 13:09
2
answers

Web scraping with pure Javascript

I want to do a web scraping that reads an XML page and takes a certain value that is in "name", but I'm not sure exactly if it's possible - I just found out how to do with NodeJS - is it possible to do with pure JS? No external libraries and / o...
asked by 05.11.2015 / 18:29
2
answers

How to not serialize a given element type with jQuery

I have a form and I do not want to "serialize" the input's type of checkbox , so I tried some options such as below: var form = $('#service-item-form :not(:input[type="checkbox"])').serialize(); But unfortunately it does not work! I would...
asked by 19.11.2015 / 16:51
1
answer

Know which button was clicked

Friends, I have 4 buttons type <input tupe="button"> , each one has a different class because they are formatted in different ways. Both buttons have the same action, with different values only. I would like to know how to get these...
asked by 18.12.2015 / 12:53