Questions tagged as 'jquery'

2
answers

Pass parameters by jquery to controller

I have a method in the controller (void) that receives some parameters (3). I can not get into the method. Of the other times I did, passing to an object there, I have succeeded, with method returning a json. Well, this is a void method and I do...
asked by 18.06.2014 / 18:08
1
answer

Problem to retrieve dynamically added array [] fields

Hello, everyone !! I have this script that adds fields dynamically in my form, but I can not go through the values added by it, I can only get the first value of the field that already comes in the main screen. p> $(function() { $("#add").cl...
asked by 19.04.2014 / 06:15
1
answer

Pre-visualization of information when selecting field in the input

I have a doubt, in fact I do not know if it is possible, since I searched the net and found nothing. I would like to know if it is possible to preview a "profile" by selecting the name of this profile in a <Option> Type <...
asked by 29.05.2014 / 21:53
2
answers

How to check if Internet Explorer is smaller than version 10?

I need to do a browser check to see if it is Internet Explorer and if it is smaller than version 10. How to do it? PS: My idea is to tell the user if you are using a version lower than 10 that downloads a more current browser.     
asked by 11.06.2014 / 23:06
2
answers

How to check if a DIV has an ID

Is there any way to check if a div has an id, using jQuery? I can check if it has an ID value, like this: <div id="main">...</div> if ($("#main").length){ // resto do código aqui } But what I need is to know if DIV ha...
asked by 12.04.2017 / 02:10
3
answers

Click on a tr to open a link

In the site I'm doing, there's a need to click on a row of the table it redirects to another page, but the row's id's are dynamic because each row should redirect to a page that shows more information. My View: @foreach (projeto1.Entidade.P...
asked by 21.03.2017 / 15:05
1
answer

remove class after 1 with Jquery

I have the following situation where I want to add a class and remove the rest of it from 1 <div class="voted rating-box color "> </div> This is the html where the div has 3 class when executing the function I want t...
asked by 29.09.2018 / 00:36
1
answer

jQuery does not display the cents in a price list

I'm in need of help with the following question: In an HTML price list, I want to create a function using jQuery / JavaScript so that as soon as the page loads, we select the HTML object, turn it into a string, split it after the comma, and t...
asked by 02.10.2018 / 14:45
3
answers

View message and hide in a few seconds

How do I show a notification when entering the site and disappear after a few seconds with JQuery? I tried something but I could not. JSFIDDLE: link Code: <!DOCTYPE html> <html> <head> <meta http-equiv=...
asked by 29.01.2016 / 00:15
2
answers

Count elements within a parent div separately

In Jquery it is possible to count the number of like divs within another using $(".pai .filha").length; . Example: <div class="pai"> <div class="filha"></div> <div class="filha"></div> </div>...
asked by 03.02.2016 / 02:59