Solved

jquery $(document).change not working

Posted on 2014-04-10
3
1,118 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
[X]
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
  • 2
3 Comments
 
LVL 53

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 53

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 Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn how to dynamically set the form action using jQuery.
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)

691 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