Questions tagged as 'jquery'

1
answer

is not checking me if a button is checked or not

if (document.getElementById("circular_select").checked === true) { piechart(); } if (document.getElementById("barras_select").checked === true) { alert("You have selected Option 1"); } <div class="btn-group custom-btn-group "...
asked by 29.10.2015 / 16:27
0
answers

value of the input erasing in the click

I have this code in javascript which passes values to inputs . When I use this code it inserts the data in input normally but when I make a click after having passed the values the input automatically erases the...
asked by 29.10.2015 / 00:30
0
answers

Copying DOM objects as a new object with JQUERY

I want to insert the copy of a content into two divs I made a clone and then wanted to make an append. Since append moves the contents of the last insert in the DOM. var copia = $('div#conteudo').children().clone(true); $('div#vazia1')....
asked by 31.10.2015 / 04:13
1
answer

FormsAuthenticate + jQuery Ajax

I'm creating an application that uses FormsAuthenticate to login to the system. However, I'd like to make a treatment for that in an ajax request (jquery) made when the user is not logged in. I put a $(document).ajaxComplete(function (e...
asked by 10.11.2015 / 15:06
0
answers

jQuery dataTable sAjaxSource - Show error while doing search

At great cost, I was able to find ajax code for loading tables. It was necessary because there are more than 5 thousand records. This is appearing error when doing the search:    DataTables warning (table id = 'table-schedule'): DataTables...
asked by 10.11.2015 / 15:32
1
answer

JS function does not execute - $ is not defined

Good morning everyone, I started to study javascript recently and I have a problem that I could not solve. Follow below: I have a page that I'm doing as if it were a Quiz. Follow the complete Code page: $(document).ready(...
asked by 21.10.2015 / 15:32
1
answer

Array with HTML and Jquery

I have a form, where the fields match the quantity entered in the database. I'm bringing this as follows: <?php .... $contar = $metodos->contarCadastro($chave); $num = 1; for($c = 1; $c <= $contarPaxes; $c++){ ?> <div align=...
asked by 20.10.2015 / 14:20
0
answers

Help to convert jquery rating function into angularjs

I have a site where I have an evaluation system that works fine with jquery, now I'm making the mobile app for this site and have to have the same evaluation system as I am new at angularjs needed your help to convert the script that I have in a...
asked by 14.10.2015 / 16:53
2
answers

POST in Ajax arrives with null data in ActionResult of MVC5

I have a function in AJAX that is the click event of a button where I get all the checkbox that are checked and get the values of each one and play in an array like this: $("#btnDropMessageSents").click(function (e) { var id...
asked by 10.10.2015 / 18:49
1
answer

Can I use jQuery 2 in Emberjs 2.1?

I would like to upgrade jQuery 1.11.3 to jQuery 2.1 within Ember 2.1. Can I upgrade without major problems? Link to question in SOEN     
asked by 05.11.2015 / 12:59