Author Topic: Send Method  (Read 396 times)

0 Members and 1 Guest are viewing this topic.

Offline shane18Topic starter

  • Enthusiast
  • Posts: 272
  • Gender: Male
    • View Profile
Send Method
« on: May 21, 2010, 03:41:03 PM »
Why if you send a xmlhttprequest u need to put

send(null)

...

why can't you just put send()

why is the "null" required... is it because this function doesn't have a default value for its argument which makes it a requirement? because most php functions for example have optional arguments so if u don't need to set a certain value for a argument it just ignores it...
-Shane (TAKE LIFE EASY)