Questions tagged as 'jquery'

1
answer

How to use scrollbar bottom when opening modal?

In the code: .modal-body { max-height: calc(100vh - 210px); overflow-y: auto; } <link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"/> <link href="https://cdnjs.cloudflar...
asked by 31.03.2017 / 22:05
1
answer

How to create an element with levels and then add elements to one of its sub-levels with jquery?

I need to create the object with the structure below and insert options. myElem = $("<div class='row'> <div class='form-group'> <label for='multiple-selected' class='col-md-offset-1 col-md-2 control-label'>Teste</la...
asked by 19.10.2015 / 23:13
1
answer

Modal + form + values (bootstrap and javascript)

From the link below link I created the following modal link In the modal I fill in a value and it will update this value in the page form (which will have more fields ...) Question : How do I do this using just Javascript, JQ...
asked by 05.10.2015 / 07:40
2
answers

Enable / Disable button according to field validation

I'm performing date validation for two <input type="text"> fields with jQueryFormValidator : $.validate({ modules : 'date' }); <script src="https://ajax.googleapis.com/ajax/libs/jque...
asked by 29.05.2015 / 01:16
1
answer

Ajax Synchronous XMLHttpRequest

What should I do in this situation. I have a script where I have to disable in the AJAX function the option: async : false . I do this because it returns a variable in the wrong way, previous to the last one that was requested. If I put...
asked by 30.04.2015 / 22:49
1
answer

Smaller image than original uploaded on canvas when drawing drawImage ()

I'm developing a system for filtering images with html5 canvas, however, as I'm at the beginning I've had some doubts and errors. In this "beginning" I want the size of the canvas to be the same as the one of the chosen image, so that it occupie...
asked by 07.05.2015 / 21:06
1
answer

How to create a simplified version of jsFiddle [closed]

Does jsFiddle use json to save CSS / HTML, Javascript / JQuery? Probably this json is saved in a bank. The 4fh0xdpc series would be the ID in the bank. http://jsfiddle.net/ 4fh0xdpc / Each update generates a...
asked by 01.09.2015 / 04:33
1
answer

Star Rating - javascript

I'm creating a star rating system for my app. After a bit of work I got a code on the net and modified it for my purposes. In it, there is a class 'full' that will fill the stars according to the user hover over them, and when he withdraws the m...
asked by 26.09.2015 / 01:22
1
answer

Dynamize Ajax Autocomplete Jquery with json data

I want to make dynamic suggestions with this API . < br> How to streamline the suggestion file by listing data from the mysql database?    Download DEMO:    link The file countries.js is what contains the suggestion dictiona...
asked by 10.11.2014 / 21:17
1
answer

How to create functions with callback?

Can anyone tell me how to create functions with callback? I have created this function but it is not working. function PostsCategoriasListar(table, select, callback) { if (table) { $.ajax({ url: cont...
asked by 22.08.2014 / 01:54