Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jquery $(document).change not working

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to make a moving character 3 68
PHP Form Calculate Total Price 10 75
ajax jquery 3 25
how to use .length with "input" 2 24
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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…

809 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