Hi Luis, once again thank you. On 5 May 2015 at 17:24, Luis Miguel Morillas <[email protected]> wrote:
> What kind of field? An html attribute or an exhibit/json field? I > understood you wanted to process the href of the anchor. > > If you want to show an html attribute for this anchor, use > > --> alert(this.href); > > Is it want you want? > > I you want to use other field, you should extract it and hide with > css, and then use it on your function. If you give us a more precise > explanation of what you want to output, it will be more easy to help. > I start from my first email. I would like to use data-ex-content values as arguments of a function of mine. Something like <a data-ex-href-content=".URL" onclick="myfunction(data-ex-content='.MyField')">my text</a> This <a> tag will be the content of a cell of a column of a TabularView, and the the output will be something like: <table> <tr><td><a href="http://1RecordUrl.com" onclick="myfunction('1RecordArgument');">my text</a> </td></tr> <tr><td><a href="http://2RecordUrl.com" onclick="myfunction('2RecordArgument');">my text</a></td></tr> <tr><td><a href="http://3RecordUrl.com" onclick="myfunction('3RecordArgument');">my text</a></td></tr> </table> Thank you -- Andrea Borruso website: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus <http://bit.ly/GEOplus> 38° 7' 48" N, 13° 21' 9" E, EPSG:4326 -- "cercare e saper riconoscere chi e cosa, in mezzo all’inferno, non è inferno, e farlo durare, e dargli spazio" Italo Calvino -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
