Questions tagged as 'javascript'

1
answer

How to limit the amount of impressions of an HTML document?

I need to limit the number of impressions of an HTML document . Currently if the file is generated (via PHP), register in the bank a sts_impresso = 1 flag, however, there are times when the user did not print for some situations:...
asked by 03.09.2016 / 16:50
1
answer

JQuery, initializing with function

I'm in an online course of JQuery where the teacher proposed a code like this: var inicia = function(){ var valorTotalItens = $('.valor-total-item'); var valorBase = 0; for (var i = 0; i < valorTotalItens.length; i++) {...
asked by 02.09.2016 / 03:23
3
answers

Apply class with innerHTML

I'm using innerHTML to change a value of a <td> that owns a class. Can I apply the class together? Because the return comes without class. HTML: <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tabelaPad...
asked by 02.09.2016 / 15:47
2
answers

Script does not display map

I'm using this script :    link The error in the console is this:    "Google Maps API error: MissingKeyMapError developers.google/maps/documentation/javascript/error-messages#missing-key-map-error" js: 34: 391       "Google Maps AP...
asked by 29.08.2016 / 20:52
1
answer

Graphics with HTML and CSS [closed]

Does anyone know if there is a way to make graphics on bars or lines using CSS and HTML?     
asked by 05.01.2017 / 17:51
1
answer

Integrate ES2015 Classes with jQuery

After a lot of reading I finally managed to make Babel work and thus transpile the scripts. Before using das, let's call it ES2015 classes, after reading about best practices I had something like this: ( function( Navigation, window, do...
asked by 10.01.2017 / 14:32
1
answer

Soon you need to stay on top of the menu but menu is not clickable

When I mouse over the menu the 'onMouseOver' property is not active because the logo needs to be in front, how can I solve it? The menu with property 'onMouseOver' dims size as well. grateful if anyone can help. Farra Certa  ...
asked by 27.09.2016 / 00:31
1
answer

Send array to controller via Ajax.BeginForm and update PartialView

Good morning guys, I have a search screen where you can select multiple values according to the user filter. I use Ajax.BeginForm to update the table, but now I need to send an array, the user can select multiple values in a given field, s...
asked by 29.09.2016 / 17:00
1
answer

How to pass a parameter to be used on another page using html

Well I'm creating a video library and I need to pass the video corresponding to the image clicked on the page to another page that would receive the corresponding video <div class="grid"> <div class="preview"> <a href="/...
asked by 01.10.2016 / 01:48
1
answer

Angular ng-show, does not remove C # code / Angular / JavaScript

I have the following code which lists categories: <div class="row" ng-show="!TemCategoria"> <div class="container" id="categoria" style="float:right" ng-hide="TemCategoria"> <select class="btn btn-warning pull-right" onchan...
asked by 21.09.2016 / 18:40