Solved

jquery $(document).change not working

Posted on 2014-04-10
3
1,073 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Julian Matz As of jQuery (http://jquery.com/) 1.4 the .live() method (http://api.jquery.com/live/) supports custom events as well as some standard JavaScript events that it previously didn't support. Among these is the submit event. Unlike …
DOM Attributes and Properties treatment with jQuery 1.6 by Ivo Stoykov jQuery (http://jquery.com/) 1.6 introduces .prop() (http://api.jquery.com/prop/) and .removeProp() (http://api.jquery.com/removeProp/) methods which allow modifying or removi…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

895 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

14 Experts available now in Live!

Get 1:1 Help Now