Questions tagged as 'jquery'

1
answer

Pass value of an input to an array of objects

I am trying to pass the value of an input text to an array of objects, via jQuery but I did not understand how to insert it into array . I tried to use something like: var usuario = $('#username').val(); And then add in place of carlos...
asked by 12.03.2015 / 18:49
1
answer

Access object option without being dotted

I have a json object in javascript and need to access it, I was currently accessing your options like this: registro.man_ins_prod_05 In hightchart in the part of adding values (date) in the chart, they treat points as comma . Functiona...
asked by 04.02.2015 / 13:24
2
answers

How to call partial function after added via append

Hello, I have a partial view , which I render with the following code: $.ajax({ url: URL, success: function (data) { $("#DIV").append(data); } }); And within that pag...
asked by 26.01.2015 / 21:23
1
answer

How to show the value of the jQuery UI Slider in a text input and update the Slider if a value is entered in the text input?

The result I need to achieve using the jQuery UI Slider seems simple. The Slider will be used to define the age of the user who would submit the form, with a minimum value of 18 (years) and a maximum of 100 (years) ... The intended purpose can b...
asked by 05.03.2014 / 22:39
2
answers

Editing page content via JQuery and leaving it fixed

I would like to know the method of editing the page and leave the content I've edited fixed there forever, as if it were a post. I've tried this: <style type="text/css"> .aprovado{ background-color: #060; color: #FFFFFF; } .re...
asked by 03.03.2014 / 18:37
1
answer

Selector or Script to assign different content to elements with the same class

We can assign a title (attribute title ) to a markup element in HTML that has this class, like this: $(".title-texto").attr("title", $(".title-texto").text()); Example of HTML markup with only one element with class: {<ul class="...
asked by 05.03.2014 / 11:54
2
answers

Retrieving jQuery instance within an iframe

I need to retrieve the instance of jQuery embedded in my iframe, as we know there are several ways to retrieve the jQuery instance, with references $ , jQuery , window["$"] , window["jQuery"] . The problem is that when...
asked by 30.03.2015 / 21:53
1
answer

Jquery Navbar fixed after scrolling

I'm using bootstrap and I have a common navbar: <div class="navbar navbar-fixed-top"> <div class="container"> <button type="button" class="navbar-toggle navbar-default" data-toggle="collapse" data-target=".na...
asked by 31.07.2014 / 21:09
1
answer

Cancel event queue in Javascript / Jquery

So, I have a loop that will awaken some 10 functions that are AJAX requests, in functions, which encompasses AJAX requests is a setTimeout() , what happens is that the loop is executed on time, and every time 10 seconds (as I have determine...
asked by 26.03.2015 / 19:46
3
answers

Submit login and password!

I have a simple form to login for users with login and password ... I'm not able to give submit via JQuery, look at the code: <div id="opcoes2"> <div id="fazerlogin2"> <form name="fazerloginform" id="fazerloginform" action="faze...
asked by 10.08.2014 / 21:28