Jquery each and visible - Unknown Pseudoclass or Pseudoelement 'visible'


DonMac
HOME ยป Coding


i have a problem with jquery/visible. Hope somebody can help me.
This code works, but i get an error in firebug


$('.fse:visible').each(function (i)

-> Unknown Pseudoclass or Pseudoelement 'visible'.
second try


$('.fse').is(':visible').each(function (i)

-> $(".fse").is(":visible").each is not a function




Whats wrong?


Thanks in advance!
Peter


Related to : Jquery each and visible - Unknown Pseudoclass or Pseudoelement 'visible'
Jquery each and visible - Unknown Pseudoclass or Pseudoelement 'visible'
Coding


i have a problem with jquery/visible. Hope somebody can help me.
This code works, but i get an error in firebug


$('.fse:visible').each(function (i)

-> Unknown Pseudoclass or Pseudoelement 'visible'.
second try


$('.fse').is(':visible').each(function (i)

-> $(".fse").is(":visible").each is not a function




Whats wrong?


Thanks in advance!
Peter


Changing ~280 controls from visible=true to visible=false takes about 8-9 seconds (too long)
25/11/2014 8:10 am Coding

I am wondering if there is something I can do to speed this up, I have narrowed the time lag to this section of code below. I am wondering if there is something else I can do to make this at least 2-3 times faster.

form1.SuspendLayout();
foreach (KeyValuePair<Control, bool> i in ItemControlUpdates)
{
    i.Key.Visible = i.Value;
}
form1.ResumeLayout();

Edit: Thank you guys for the comments, I corrected my code and hope it indicates my specific problem. (I do not need to write to file)

Edit2: The 280 controls are user controls and it is a requirement for my application to view all of them or some of them when the sorting selections are made. Here is a small screenshot to show you what I am talking about link


Changing ~280 controls from visible=true to visible=false takes about 10 seconds (too long)
25/11/2014 7:40 am Coding

I am wondering if there is something I can do to speed this up, I have narrowed the time lag to this section of code below. I am wondering if there is something else I can do to make this at least 2-3 times faster.

form1.SuspendLayout();
foreach (KeyValuePair<Control, bool> i in ItemControlUpdates)
{
    System.IO.File.AppendAllText(itemFile, DateTime.Now.ToString() + "
ItemsUpdates" + Environment.NewLine);
    i.Key.Visible = i.Value;
}
form1.ResumeLayout();

The itemFile is just a temp file used to display the time lag.


Node expand box is not visible in Internet explorer and Chrome but is visible in firefox
Coding

I have a radtreeview in item template of a radcombobox. The parent node is visible but its expand box is not in chrome and IE but its visible in firefox.



Am i missing something or what can i do to fix this issue.




HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .