Profile
Achievement
1man's Recent SnippetsTagged data
- All /
« Prev 1 Next »
I didn't realise until now you could do this in jQuery, very useful. Store a value for later use, then remove it.
4
907
posted 16 years ago by 1man
The important thing to notice is the () operator in a[2]. It is invoking the function inside a[0] with the argument a[1].
1
828
posted 16 years ago by 1man
Basic layout for the data contained in a JSON file.(JavaScript Obsect Notation).
1
746
posted 17 years ago by 1man
This function allows you to parse a simple XML document(passed to it using this.href on a onclick event). Virtually the same as JSON, the things that have been changed ate labeled !Important.
3
1071
posted 17 years ago by 1man
This function is near enough the same as parsing XML. The only things that have changed are the sections marked !important.
3
1092
posted 17 years ago by 1man