I'm calling the (fairly old) plugin "thickbox" as described here:
<input type="text" id="RecordType" size="10">
<a id="RecSubTypeHref" href="index.pl?img=true&type=RecSubType" class="thickbox" disabled title='Title goes here'><img border=0 src='images/questionmark.png'></a>
When the thickbox is created it contains a list of stuff based on the query.
Using JavaScript or jQuery I'd like to be able to access the value of type
(in the example above type=RecSubType
).