[jQuery] Anyone seen toggleClass is not defined

2008-01-22 Thread hotsauce
I keep receiving an error with this bit of code on click $(document).ready(function() { $('div.example').click( function() { $(this).toggleClass(activated); }); }); It works, but I keep receiving an error stating that toggleClass is not defined How would I define this?

[jQuery] Re: AJAX and javascript?

2008-01-15 Thread hotsauce
Hey, thanks for the reply... I found a couple of other people out there that have had the same issue (maybe), but not many The IE page returns the following code when it attempts to retrieve the ajax content script id=__ie_init defer=true src=//:/script There are some hacks out there, but

[jQuery] Re: AJAX and javascript?

2008-01-15 Thread hotsauce
Fixed! I have implemented the outstanding fix for this problem: It was referenced in the uncompressed version of jquery's latest version The fix is located on this site: http://javascript.nwbox.com/IEContentLoaded/ If any other noobs, such as myself, ever have this problem and not sure how to

[jQuery] AJAX and javascript?

2008-01-14 Thread hotsauce
Has anyone ever had incompatibility when getting an external file via the simple function function loadContent(id) { $(#ajaxContent).load(externalFile.aspx?program=+id+); } The external file I'm getting uses the contains multiple Cases which function