[jQuery] What am i doing wrong????

2009-07-31 Thread PictureMan
When I add this rule to a page with the other rules, my page stops validating. Works fine if I don't add it. What this is for is a check box next to a input box. IF the check box is checked, the field is mandatory. OtherCruiseLine: { required: function(element) { return $("input

[jQuery] What am I doing wrong here -- htmlTo?

2008-12-16 Thread ken
I am trying to do the following: 1) create an IMG 2) assign an SRC to the IMG 3) wrap the IMG in 's 4) insert the resultant HTML into #foo I have been hammering at this for awhile now, and am having problems; I've tried using wrap and some of the other content-manipulation methods, but I still ca

[jQuery] What am I doing wrong?

2008-09-17 Thread conspirator
I can't seem to get this to work for a client. I'm not a genious at jQuery, but I think this is supposed to work. What am I doing wrong? Shadowbox.loadSkin('classic', 'some/path/to/js/shadowbox/src/skin'); Shadowbox.loadLanguage('en', 'some/path/to/js/shadowbox/src/lang');