Yeah, I'm completely confused without a
working example. No, it doesn't have to do what I need it to do, it just has to do something successfully. I don't want to alert in a class, I can do that fine already with the functions already and it's useless. The function that I'm using to validate my form however is where I keep getting
undefined so if I can call the class and alert the value received by the server
there then everything is absolutely golden! Once I pick up the pattern
then I am typically able to reproduce it to the extent it serves the goal I'm trying to achieve.
It doesn't matter if these look like gold...I'm sitting here wondering how to execute them.
HTML element --> onblur event --> custom function if (condition) --> ajax --> return --> custom function {result} --> XHTML changes applied.
Right now I'm not sure how to call the class (I would be calling this in the above custom function). I've been trying to mess around but I'm stuck at the callback...is this a function? No wait...that looks like a class...so there are two classes? Now you're just throwing wrenches in my clock.

KISS please, keep it simple keep it stupid...is there a bare minimal example on a tutorial page I can read? You also add a period in what I'm guessing is the class name...is this allowed?
Is this how to call the JavaScript class?
Code: Select all
alert(Ajax.request.httpRequest());
Error: Ajax.request.httpRequest is not a function
Anything is easy once you know how though I'm not seeing the glue that makes A-B-C-D-E all work together. I am seeing how it could be reusable. I learn by examples, not by length explanations. In example math books go on for pages and pages about a single problem, total waste. Show me a small table of addition or multiplication and I'll see a pattern emerge. Thanks for your help thus far!