Jump to content
Larry Ullman's Book Forums

Chapter 15 Creating Generic Objects.


Recommended Posts

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

 Share

×
×
  • Create New...