Questions tagged as 'javascript'

1
answer

Add CSS to specific page via JS

I'm currently using Blogger, and I want to add css styles to just one specific page. I used a few times ago a default code of the blogger himself that allowed this (), but it does not work anymore. So I wanted to ask you guys to give me a JS sol...
asked by 25.10.2015 / 17:52
1
answer

Change properties of a single element that repeats multiple times on my page

I have div with the same classes repeating several times on my page (only changes the content) and I want to select only the element that was clicked. Example of the code I'm using: jQuery(function() { jQuery('p').hide();...
asked by 27.10.2018 / 18:50
1
answer

How to preserve the cache of an iframe?

When changing an angle route, I would like to preserve the cache of an iframe that has been read and rendered: $scope.loading_guten_pro = false; $scope.url_pro = '/acesso-pro'; $scope.iframePro = function() { $scope.loading_guten_pro = t...
asked by 29.10.2018 / 13:56
1
answer

Position one element over the other

.lista-cartoneira h1 { font-size: 1.2rem; margin: 12px 0 12px 0; font-weight: 500; } .lista-cartoneira h2 { font-size: 1rem; margin: 12px 0 12px 0; } .lista-cartoneira img { width: 80px; height: 80px...
asked by 19.11.2018 / 12:47
1
answer

I can not place function on inputs that contain masks

PersonalIhavethesethreefieldsinaproductregistrationsystem.Thefirstisthecostprice,thesecondistheprofitontopofthefirst,andfinallythesalesvalueoftheproduct.WhathappensisthattocalculatethissalesvalueIcreatedafunctioninjavascriptthatcalculatesoverth...
asked by 16.11.2018 / 17:41
2
answers

Execute method on server when closing browser

I need the user to close the browser or the page tab, update the Logged status that is in the database (for user access control). To do this use the following Method JavaScript : window.onbeforeunload = function (event) { PageM...
asked by 04.09.2015 / 16:50
1
answer

How to put a link (href) in a piechart

How can I link somewhere in the chart with Google Charts a>, a different link for each division of chart . I'm using a PieChart , follow jsfiddle link and page where I got the code. Note: If you can do this with highcharts, it do...
asked by 03.09.2015 / 23:27
1
answer

Creating a search link?

I have a problem in a project, there are 3 product search fields and a search button. example: link I wanted as the fields were filled out, the browse button would load the link built. Example: There are 3 fields so they would look li...
asked by 26.08.2015 / 19:49
2
answers

Javascript - Populating a field with paragraph

I'm developing a javascript to populate a text box, however I came across a situation that is generating me difficulty. I need popular with this message for example: TEST TEST TEST But I can not bring row breaks when I populate the f...
asked by 28.08.2015 / 15:30
1
answer

Hiding URL address in href

I would like to know how I can cover up the original address of a url following the example of this url that follows the url I use http://thumb.servidor.direto.com.br/15574899.mp4 to stay this way in the href="#">#
asked by 18.08.2015 / 20:16