[08:00:54] hi zhuyifei1999_ [08:02:09] It will be nice if you could give me any solution on how to get the dropdown tool tip dynamically. [09:36:52] hi [09:39:38] hey [09:47:15] how is it going [10:14:47] going good [10:15:19] I made a new pair of rsa keys and logged in to toollabs [10:15:42] "hoogleraar" seems to work fine [10:16:28] and for multiple images pointed to by one identifier in NA: looks like python is doing the ordering randomly [10:16:34] I will fix this [10:16:51] and zhuyifei1999_ did not respond yet [10:38:30] ok [10:40:15] have you received any more reviews lately? [11:03:03] you can read the page as well [11:03:11] I got one informal [11:03:24] but told you about it [11:05:56] ok [11:19:32] basvb: Dictionaries in Python are unordered. So there seems to be no way to get "first key". [11:19:54] so try to see how to fix that [11:20:12] maybe that means using something different from a dictionary [11:20:25] ordering is important here, so look for a structure/way to get the ordering [11:20:35] in our case the images are in a dict and I converted them to a list [11:21:19] but this list is not necessarily getting formed in the order of the keys as appeared in the json [11:22:55] https://github.com/infobliss/sibutest2/blob/master/glams/NationaalArchiefGLAM.py#L94 [11:26:12] that is because they get unordered in the dict I think? [11:26:38] first hit on google [11:26:38] https://stackoverflow.com/questions/1867861/python-dictionary-how-to-keep-keys-values-in-same-order-as-declared [11:27:12] other interesting hit https://stackoverflow.com/questions/6921699/can-i-get-json-to-load-into-an-ordereddict-in-python [11:28:57] ok [12:45:11] 09:02 15:29 infobliss: idk [12:45:11] 09:02 15:29 I never done it earlier [12:45:11] 09:02 15:30 but if you could be bore specific about what kind of tooltip you want I can google for you [12:45:15] infobliss: ^ [12:45:44] 'displaying in

' is not specific [12:46:08] Dictionaries in Python are unordered <= ordereddict [14:01:01] hi zhuyifei1999_ [14:01:15] yes I think the two stackoverflows I linked should be enough to implement ordereddict [14:46:51] hi zhuyifei1999_ [14:49:40] I don't know if I am being sufficiently specific to your expectation or not [14:49:45] but let me try again [14:51:25] I want to display the the value of the tooltip in the form itself say in p tag onchange of a dropdown value chosen by the user without hardcoding the tooltips. [14:52:41] so say for choosing NA glam the user gets to see "Sample URL: " [17:50:45] you need js [17:51:08] use ajax to fetch the data [17:51:32] or make jinja generate some hidden html elements for that