SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru Angry Coder's Avatar
    Join Date
    May 2002
    Location
    Canada
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Is it possible to save a textarea contents on MySQL using AJAX while typing?

    Hello,

    I am wondering if it's possible to save a textarea contents on MySQL using AJAX while the user is typing?

    If so, how?

    Your help would be greatly apprecaited.
    Why It Doesn't Work?!

  2. #2
    SitePoint Wizard chris_fuel's Avatar
    Join Date
    May 2006
    Location
    Ventura, CA
    Posts
    2,750
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably, though I'd ask the question "Why?". Seems like a bit of overhead with all those AJAX calls making all those DB calls...

  3. #3
    SitePoint Guru Angry Coder's Avatar
    Join Date
    May 2002
    Location
    Canada
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To save some notes on one person password protected area, so I don't think there will be any overhead.
    Why It Doesn't Work?!

  4. #4
    SitePoint Wizard chris_fuel's Avatar
    Join Date
    May 2006
    Location
    Ventura, CA
    Posts
    2,750
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    attach a keydown event to the object (there's some attachEventListener code floating around someplace on sitepoint) and have it send its own .value through an XHTTPRequest call.

  5. #5
    SitePoint Guru Angry Coder's Avatar
    Join Date
    May 2002
    Location
    Canada
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by chris_fuel
    attach a keydown event to the object (there's some attachEventListener code floating around someplace on sitepoint) and have it send its own .value through an XHTTPRequest call.
    English please.
    Why It Doesn't Work?!

  6. #6
    Non-Member Icheb's Avatar
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    1,474
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •