Solved

jquery $(document).change not working

Posted on 2014-04-10
3
1,062 Views
Last Modified: 2014-04-25
Hi,

I have a code that works with $(document).change sometimes yes and sometimes no:

I have a table and i am using tablesorter to filter, but i have a jquery that runs after each filter. The problem is that $(document).change doesn't work all the times? Sometimes run and sometimes not, is something with intermittence. Is another method different that .change that work better?
0
Comment
Question by:joyacv2
  • 2
3 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39992366
Please post a link to your test page so we can see the issue.
0
 
LVL 1

Author Comment

by:joyacv2
ID: 39992393
Hi,

I don't have any test page, there are any other method different from .change?
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39992583
You need to make a test page. We don't need the 1000 lines of code, just the important part. http://css-tricks.com/reduced-test-cases/  

There is no way to know the problem from your description.  To start with, most of the problems stem from basic html and css errors.  Without seeing your code, there is no way to know the problem.

>s another method different that .change that work better?
There are about 45+ events you can target with jquery http://api.jquery.com/category/events/  A change function is just one.  Until we see your code, it is hard to help.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now