Hi bob,
Thanks for your reply. Please check the following javascript code:

                        for (var i = 0; i < sortableManager.rows.length; i++) {
                                var row = sortableManager.rows[i];
                                var domain = {};
                                json_item = row[ind].toLowerCase();
                                if ( json_item.indexOf(search_item) >= 0 &&
( json_item.indexOf(search_item) == 0 ||
json_item[json_item.indexOf(search_item)-1] == ' ') )
                                {
                                        for (var j = 0; j < 
sortableManager.cols.length; j++) {
                                           if ( j == 1 )
                                                domain[sortableManager.cols[j]] 
= '<a href="drink-details.php?
drink_id='+row[0]+'">'+row[j]+'</a>';
                                          else
                                                domain[sortableManager.cols[j]] 
= row[j];
                                  }
                                        domains.push(domain);
                                }
                        }
                        sortableManager.data.domains = domains;

Here I've pushed (insert) the row (for table) of data
(domains.push(domain);). The first column of table is a linked data,
which is show after decode. But I did not do any decoding in my
projects. Data are fetched from a json file (row). Have you any
suggestion. Eagerly waiting for your reply.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to