[jQuery] Re: Jquery Form Plugin issues

2009-02-19 Thread Glenn
Ok, I think the problem is related to using XMLHttpRequest in a cross- site situation (which I was, since my API is a different domain than my HTML). I will resolve this using jsonp, or some other method. Sorry for the trouble. Hope this helps others.

[jQuery] Re: Jquery Form Plugin issues

2009-02-19 Thread Glenn
Hammering this home, I also tried to point my form to your test.php page, but still no change. I do see your response, but it moves the browser forward to a new page to display it. I also have the exact same versions of jquery and jquery form plugin. Is there some other setting somewhere on our

[jQuery] Re: Jquery Form Plugin issues

2009-02-19 Thread Glenn
Well I just tried putting all the javascript into the but that didn't help. It's still the same. It is calling the beforeSubmit callback, because I see the showOverlay. But then it doesn't call the success callback, but instead just posts the form normally. What is your test.php file returning

[jQuery] Re: Jquery Form Plugin issues

2009-02-19 Thread Glenn
Weird. Could it be that you are have the $(document).ready call in the ? I currently don't have it set up this way. But I thought from looking at other examples that it didn't matter. On Feb 19, 12:29 pm, Mike Alsup wrote: > > I am also seeing this same behavior.  I'm using FF 3.0.6. > > I ha

[jQuery] Re: Jquery Form Plugin issues

2009-02-19 Thread Glenn
Nevermind my second point in my last post. I see why it was calling those callbacks immediately. duh. I had parentheses after their names in the options hash! Anyways, I do still have the main problem of not submitting via AJAX.

[jQuery] Re: Jquery Form Plugin issues

2009-02-19 Thread Glenn
llback, it will oddly enough trigger the "beforeSubmit" and "success" callbacks of the options immediately upon loading the page. Here's my code (with the options param variation): http://pastie.org/393825 -Glenn

[jQuery] Custom data property in custom events

2009-02-09 Thread Glenn Nilsson
a-property. Is this by design or is it a bug? $(document).bind("hepp", function(e, data) { alert(data.test + " -- " + (!e.data ? "" : e.data.test)); }); $(function() { $(document).trigger("hepp", { test: "hopp" }); }); This always alerts "hopp -- ". Thanks, Glenn

[jQuery] Re: jCarousel: HTML structure vs CSS vs documentation

2008-04-28 Thread Glenn Nilsson
Sorry, wrong line number, 24, not 28. * On Mon, Apr 28, 2008 at 12:42 PM, Glenn Nilsson <[EMAIL PROTECTED]> wrote: > Hi, > > just upgraded the jCarousel plugin to the newly released version > 0.2.3, and my styling broke. This due to the structural modification > wher

[jQuery] jCarousel: HTML structure vs CSS vs documentation

2008-04-28 Thread Glenn Nilsson
incorrect. At least on line 28 is the non-packed/minified version. This was just a heads up =) /Glenn -- http://wailqill.com/

[jQuery] Initialization of jCarousel with too few elements.

2007-11-05 Thread Glenn Nilsson
t http://sorgalla.com/projects/jcarousel/examples/static_simple.html so it only had 2 items. I got the same error there. v1.2.1 Thank you, Glenn

[jQuery] Re: Loosing access to 'this' objects in callback method!

2007-06-26 Thread Glenn Knowles
, but I'm determined to get to the 'penny drops' moment. Thanks again. Glenn Nate Cavanaugh wrote: > Hi Glenn, > Closures are a pretty tough concept to fully explain. In this case, I should > have just said to use an "anonymous function", as it would proba

[jQuery] Re: Loosing access to 'this' objects in callback method!

2007-06-24 Thread Glenn Knowles
27;d be grateful. You mention the phrase "you can use a closure", is this a common term in Javascript? What does it mean? Once again, thank you. Regards, Glenn Nate Cavanaugh wrote: > Hi Glenn, > Keeping scope is definitely one of the more frustrating aspects of > Javascript