This modifies the String prototype to add the functionality we need. Using the string value of the object it runs on as the string key name, this function takes a multidimensional array or object as its parameter, and returns the first value it comes across (it does not continue to search).
Tags: javascript
Submitted by: briancray Submitted on: Dec 7, 2009
Source: http://briancray.com/2009/12/07/javascript-find-value-string-key-multidimensional-array-object/
This Tut has no comments. Be the first to add your two cents!
Login to post comments.
ie css regex codeigniter javascript php mysql mootools framework library ci mvc forms ajax blog regularexpressions world flash jquery dom rating svn dojo xml rss facebook xhtml nav navigation menu effect plugins jqueryui widgets twitter curl ui plugin wordpress event tinyurl photoshop apache google safari python mac apple search zend

For all the newest TUTs, follow @tutlist
NeilWilston (356 Tuts)
girish (232 Tuts)
kumaraman (203 Tuts)
showkatahmad (160 Tuts)
deepti89 (147 Tuts)
Drag TUTmark to your bookmarks
to begin using our bookmarklet.
Don't know how to use a bookmarklet?
Check out this tutorial.
Home Page (RSS and ATOM)
New TUTS (RSS and ATOM)
Subscribe by Email
To learn how to get your ad here.
CONTACT US TODAY!