Questions tagged as 'jquery'

1
answer

HTML5 print screen automatically

Is it possible or is there any html5 / javascript / jquery library that allows me to take a print out of the window or a div and save it automatically without requiring the user's permission? I've tried window.print() but it asks for u...
asked by 25.02.2014 / 15:06
2
answers

CKeditor html content gets empty after using jQuery-ui Sortable in your parent div

I want to "sortable" 2 or more div's with a CKeditor populated with html, however when doing this the html of CKeditor loses the content and the editing space gets blocked. Follow fiddle: link HTML <div id='e'> <div id='e1...
asked by 06.11.2014 / 14:57
3
answers

How to add dynamically in ul with jQuery?

I'm bringing backend notifications and I need to dynamically add the path to them, how do I add a <li> to each response element? JavaScript $(document).ready(function () { $.ajax({ url: "/tasks/not-assign", dataType:...
asked by 20.09.2016 / 13:21
1
answer

How to detect that the div has been rolled to the end?

I need to know if a certain div has been rolled to the end using jQuery. I'm having problems because the height of div is not constant. The goal is to automatically roll div down unless it has already been rolled by the user...
asked by 16.12.2013 / 03:05
1
answer

Display data with Google Chart - Stacked

I'm using Google Chart - stacked to create a chart on my system. Until this part is working correctly, as can be seen in the example below: <script src="https://www.google.com/jsapi?autoload={%27modules%27:[{%27name%27:%27visualizatio...
asked by 07.12.2015 / 19:33
2
answers

jQuery onLoad x jQuery onDomready

Every time I'm going to use JSFiddle I see options for initializing jQuery content via onLoad or onDomready . I tested with most scripts I wrote and there was no functional difference whatsoever. Searching on Google has seen th...
asked by 07.03.2014 / 13:21
5
answers

Appearing text when typing in textarea

Consider the following example: I have a textarea which, when the user types something in it, a small text just below it should be displayed, and at a certain time after the user finishes entering his sentence, / p> I even got something h...
asked by 06.03.2014 / 21:49
1
answer

How to use a bracket name (brackets) in a jQuery selector?

What is the best way to call an element that has brackets in the name, using jQuery? HTML <div name="name[1]"></div> jQuery $('div[name=name[1]]'); //errado? $('div[name="name[1]"]'); //correto? $('div[name="name\[1\]"]...
asked by 12.12.2013 / 16:36
4
answers

How to add the ninth digit, in a fixed way, using the jQuery Mask?

How to add the ninth digit in a fixed way using jQuery Mask ? $('#telefone').mask('(00) 90000-0000'); This way I use is only optional.     
asked by 19.06.2015 / 22:26
2
answers

Adding a dynamically element with jQuery

I have set up the following structure in HTML: <form name="criaModelo" method='post' action=''> <label for="name"> <strong>Nome:</strong> <input name="nomeModelo" type="text"> </label> <h2&...
asked by 29.01.2014 / 04:52