html & javascript: How to store data referring to html elements

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2009-06-01T11:35:34Z Indexed on 2010/06/02 3:33 UTC
Read the original article Hit count: 394

Filed under:
|
|
|

Hello, I'm working on a web application that uses ajax to communicate to the server. My specific situation is the following:

I have a list of users lined out in the html page. On each of these users i can do the following: change their 'status' or 'remove' them from the account.

What's a good practice for storing information in the page about the following:

  • the user id
  • the current status of the user

P.S.: I'm using jQuery.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery