Christopher Bergin Posted August 24, 2012 Share Posted August 24, 2012 I'm trying to understand the process of events taking place in Chapter 15. My first question applies to declaring a generic object: are the properties assigned to the object user-defined or are they available system-defined properties? options.data = data; options.dataType = 'text'; options.type = 'get'; options.success = function(response) My second question: when this instruction is executed in the login.js script, are all the property / value pairs that comprise the generic object appended to the GET URL and sent to login_ajax.php for processing? $.ajax(options); Link to comment Share on other sites More sharing options...
Larry Posted August 25, 2012 Share Posted August 25, 2012 Good questions. The properties in the options object are defined in the framework and must match what it expects. As for the second question, yes, if it's using the GET method. Link to comment Share on other sites More sharing options...
Christopher Bergin Posted August 27, 2012 Author Share Posted August 27, 2012 thanks for responding. I think I speak for a few on this site and would like to express my appreciation for the help HartleySan, the others and yourself contribute to our development. Link to comment Share on other sites More sharing options...
Larry Posted August 27, 2012 Share Posted August 27, 2012 You're quite welcome. That's what the forum is for. I certainly appreciate the assistance that others offer as well. Link to comment Share on other sites More sharing options...
Recommended Posts