Questions tagged as 'jquery'

1
answer

Authenticate with session storage

I have a login screen, where if the user logs a session storage with the required information, I also saw how I can read this recorded information, but how do I open a page through the URL to check if the session storage was if it is ok, let the...
asked by 14.04.2017 / 05:18
1
answer

Chartjs rotate text

I would like to know, I have a text created with canvas on chartJS]. How do I rotate the text, while being vertical in the center of the line. I tried Rotate, but the text disappeared from the graph. EXAMPLE link     
asked by 13.04.2017 / 20:36
0
answers

Make modal appear on the screen after you create

$('a[rel=modal]').click( function(){ var id = $(this).attr('href'); var a1 = []; for (var i = 0; i < id.length; i++) { a1[i] = (id[i+1]); } var a2 = a1.join(''); var idTime = parseInt(a2); modaisTime= $('#moda...
asked by 22.04.2017 / 15:53
1
answer

Customize Bootstrap WYSIWYG

Colleagues. I'm using Bootstrap's WYSIWYG, however I would like to remove some buttons, just leave Normal to Underline . ThecodeIhaveis:<script>$(function(){$(".textarea").wysihtml5(); }); </script>     
asked by 21.04.2017 / 18:40
1
answer

Display events of a certain day with jquery.datapicker

This event calendar with datepicker displays all the events of the current month, so how do you view events for the day when you click on a particular day? For example, click April 25, you receive all events for that day. Follow part o...
asked by 25.04.2017 / 16:12
1
answer

How can I maintain on the page a dynamically created component with jQuery?

How to keep a dynamically created element on page with jQuery? When I refresh or go back to the page, the element is removed.     
asked by 25.04.2017 / 14:21
0
answers

Limiting event execution and listening to events

I need to limit the number of times a button is clicked, below its code $(".add-produtos").on("click", function(){ for(var z = 0; z < 17; z++) { var testar = produtoObj(i++); //produtoObj é o objeto que renderiza os prodduto...
asked by 25.04.2017 / 18:52
1
answer

There is "Require once" in Javascript / Jquery

I made a class in JS (Model ES6), it's working beauty, but how do I put it in an external file and give it a Require Once as in PHP? Can you do that? Thanks;)     
asked by 25.04.2017 / 18:28
0
answers

JSON DOES NOT RETURN

I'm doing an update to the database. But json does not return. Can you help me please? JQUERY ARCHIVE $(document).ready(function($) { // Evento Submit do formulário $('#myForm').submit(function() { // Captura os dados do formulário...
asked by 06.04.2018 / 12:32
1
answer

Dynamic Select in Materialize CSS

I have two selects , when I change the first one, it has a on change event that calls a ajax to load the data of the second select , is working, but when I include Materialize CSS , it stops working , I no longer...
asked by 06.04.2018 / 14:56