Questions tagged as 'jquery'

2
answers

Picking up top div ID to click

I need to get the ID of the DIV greater than the button is, for example: <div id="1"> <button id="1"></button> </div> <div id="2"> <button id="2"></button> </div> If I click the button 2 i...
asked by 04.11.2015 / 13:21
1
answer

Combobox state - city PHP [duplicate]

This is correctly populating the states combobox. How do I proceed to now, when selecting the state the combobox of cities referring to the selected state is filled? How do I implement the "loadCities ()"? <? //seleciona t...
asked by 21.09.2015 / 19:05
1
answer

jQuery does not add "+"

I'm doing a shopping cart with jQuery . The cart works like this: It has the products and all the values of each one. There is a field that changes the quantity. There is also another field of freight. After adding all the products it give...
asked by 18.09.2015 / 21:06
3
answers

Start connection on SignalR

I'm creating a simple application for the purposes of studying SignalR with C # in VS2015. How do I start the connection without having to define a method on the client? I'm doing it this way: $.connection.hub.url = "http://localhost:8080/s...
asked by 15.09.2015 / 17:43
1
answer

jQuery calling an action

I'm developing a web site in ASP.NET MVC that uses jquery to control some plugins like spinner, toastr and others. My question is if I should call Action via jquery to validate the model and within Action make a call rest (which was built...
asked by 13.09.2015 / 00:56
1
answer

How to check elements in hover?

I have a list of elements belonging to a gallery, where the elements outside the hover will have a new class. The problem occurs when the hover occurs directly from one element to another and does not add the class to the new element in hover....
asked by 31.08.2015 / 20:59
2
answers

Jquery does not point to another page [closed]

I have a website with some buttons. When you click the buttons, they are directed to the respective pages, but there is a button that does not address, it only remains on the same page. The code I'm using for it is: $('#btnSeguroViagem').o...
asked by 18.10.2015 / 23:54
1
answer

Show "Wait ..." message while the page loads completely - jQuery MVC

I have a view that loads a DataTable.Net , where I need to display a PopUp with the message " Aguarde... " . PopUp opens when the page loads, but how do I close it? The way I did, PopUp does not close, what's wrong? Is there any...
asked by 17.10.2015 / 14:46
1
answer

new Date () with no time zone

I have to send a date javascript to my controller via FullCalendar . In my action, I'm getting a DateTime and I need to send through the javascript file with new Date(minha_variavel) . But when I do this, it comes with...
asked by 21.08.2015 / 16:38
1
answer

Why does this "(jQuery)" exist at the end of the function?

I would like to know why this (jQuery) statement exists at the end of function . jQuery(function($){ // alert('Oi'); $(".widgets-holder-wrap").removeClass('closed'); })(jQuery);     
asked by 29.07.2015 / 16:02