Questions tagged as 'jquery'

1
answer

How to create a scrolling menu?

How is this menu fixed at the top of the page that when the user scrolls down when arriving at a certain place on the page the menu decreases getting compact. And when you return the screen up, does the menu return to the initial stylization? Ca...
asked by 05.04.2017 / 19:32
2
answers

Remove disabled attribute when a condition is satisfied

Good evening. I'm trying to make a log and login screen for an application that will save the data to localStorage . To prevent the user from registering with incomplete data, I disabled the submit button using disabled . My in...
asked by 15.04.2017 / 06:55
1
answer

How to convert jQuery .on function to pure JavaScript

Today I started trying to transform a function that I'm using in jQuery (which @ Jose helped me implement in this answer ) to .on , for pure JavaScript, but I'm facing some difficulties. The online courses I have already done did not addr...
asked by 11.06.2015 / 02:34
2
answers

Mount DataTables with Repeater

I'm setting a DataTables jQuery with repeater ASP.NET C# . What am I doing wrong? I have used the code. <body> <form id="form1" runat="server"> <div> <asp:Repeater ID="rptMeusDados"...
asked by 16.07.2014 / 14:38
1
answer

How do I access a dynamically generated element (or its values)?

I know that it is possible to use on() and delegate the selector, so it accesses the dynamic element from a static element, but if you can not use on() , what to do? For example, within any function I need to get the id of a dyna...
asked by 10.07.2014 / 02:45
2
answers

How to pass an array of StdClass php objects to a JS variable using $ .ajax () jquery

I have the structure below. I need to access each value in jquery. Array ( [0] => stdClass Object ( [post_id] => 140 ) [1] => stdClass Object ( [post_id] => 141 )...
asked by 20.10.2015 / 21:06
2
answers

How to add option to a select by Jquery / Javascript

I'm trying to create a select that gets its options via JavaScript or jQuery, the data is stored in an array. Example: for (i = 0; i <= cidades.length; i++) { $('select').append('<option>' + cidades[i] + '</opt...
asked by 14.10.2015 / 00:42
1
answer

How to consume a WebService "asmx" via Jquery Ajax

I have created a button that calls the method findCompany which in turn is made a Ajax request to consume a Web Service Asxm . Why does Ajax not consume the Web Service? <asp:Button ID="btnPesquisar" runat="server"...
asked by 28.09.2014 / 01:41
1
answer

div that does not exceed certain limits

Well, in this link :: link there is a menu that when loading the page is not fixed at the top of the screen, however When you scroll down the page a little, this menu appears and is fixed at the top. How do you do that?     
asked by 05.09.2014 / 03:36
1
answer

Mask for monetary values

I wanted to create a mask for monetary values, where the person would enter and enter the scores and separations of the decimal places automatically. Ex:    $ 1       R $, 11       $ 1.10       $ 11.00       $ 110.00       $ 1,110.00...
asked by 11.11.2016 / 18:10