Questions tagged as 'javascript'

1
answer

Site loaded with no refresh?

I'm trying to develop a site without reloading a page but change the page url so that google search type thefts can find pages on my site more easily than with ajax . For example: OndaSul FM . I know this process can be done with JavaScri...
asked by 02.06.2017 / 20:45
1
answer

slideToggle (); to row in tables

$(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); }); <div id="flip"><table><td>Maria</td></table></div> <div id="panel"><table><t...
asked by 23.05.2017 / 19:59
1
answer

Select Value

I have select with multiple car brands and I have a script that when selecting the car should appear its marks. I wanted to update the tags, but when I click the button to update only the last tag and the template chosen is that it upda...
asked by 02.06.2017 / 15:12
1
answer

Hangman Error

I'm developing a fork game using JavaScript and I can not solve two problems Whenever I hit the first letter and print the word on the screen, it prints only after I hit the second letter and does not store the letter The error vector is...
asked by 08.05.2017 / 20:18
1
answer

Doubt with API access - using Angular - typescript

I set up a website to study a store WooCommerce, I activated the api and generated the keys. In the root of the site I added in the .htaccess, is it in the correct place?: # Permite acesso ao pacote Font Awesome <FilesMatch ".(ttf|otf|wo...
asked by 08.05.2017 / 18:58
1
answer

Carousel Boostrap

Hello. I'm trying to make a carousel for the first time using Bootstrap. The carousel is only in the first image, it does not change automatically or when I click the side buttons. HTML: <!DOCTYPE html> <html> <head>...
asked by 28.04.2017 / 22:18
1
answer

Method toggle () and position () together in jQuery

Is it possible to use the toggle () and position () methods in the same line of code? For example: $("#palette-base-category-"+category).toggle("drop", 1000).position({my:"right", at:"right", of:null}); att     
asked by 28.04.2017 / 13:28
1
answer

Gif loading

Hello I'm implementing this autocomplete And I would like that while the system searches the items, it shows a loading gif in the corner of the input. <!doctype html> <html lang="en"> <head> <meta charset=...
asked by 24.05.2017 / 22:06
2
answers

Import a file containing script and link tags

I'm creating a website where, on all pages, the script and link tags to import the JS and CSS libraries are repeated. Is there any way to, for example, I create a script.html file (for example) and import this file to all my pages accordingly...
asked by 24.05.2017 / 20:40
1
answer

Adding component dynamically in React

I'm trying to dynamically add one component within another in React. So that I click on some element and that onClick it will add this component next to the specified div. I tried to do this: (The object is added but not rendered) import Re...
asked by 10.05.2017 / 23:26