I have a code which generates HTML.
I am trying to use jQuery in this but it is not working.
the HTML generated follows :
I get JS error inside
document.ready
when I try to call a selector
I am really new to jQuery and can't find what the issue might be. Please look into the html and see if a help is possible.
Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
I'm not really sure what is causing you to have this issue, your jQuery stuff seems ok, but I really can't get my head around all the markup etc in your posted code. Perhaps someone else will be able to help more.
So what code is it stopping at? i.e. what is on line 200?
that works fine, this mammoth has something wrong in it
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
6
posted
0
This is when you break out your debugging hat. Comment everything that is not related to the problem and see if it works. If it does uncomment a little bit more and see if it works. Do it until it breaks. Than you know where the problem is at.
Are you kidding me? 2000 lines of HTML? Where some of the lines are like this:Format your code in a meaningful way so we can actually read it without scrolling three screens to the right. Indent it. Remove what isn't relevant.
Look in to CSS--it's really quite handy; I hear people are using it now.