Solved

jquery $(document).change not working

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jQuery Animation faster 5 48
Javascript Hashmap output 8 57
Error in JQuery 5 51
Problem initializing text inputs for jquery typeahead when they are dynamically created 4 29
I have answered several questions lately that were solved utilizing the power of jQuery's AJAX functions, so I thought I would write an article demonstrating the ease of use. Why should I use jQuery as opposed to regular JavaScript? Now I know…
Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
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…

776 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