Hahaha, sure no!

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.




Saludos,

-- luismiguel  (@lmorillas)


2015-05-05 14:39 GMT+02:00 Andrea Borruso <[email protected]>:
> Hi Luis,
> you are very kind and I feel myself stupid :)
>
> On Monday, 4 May 2015 23:17:04 UTC+2, Luis Miguel Morillas wrote:
>>
>> Sorry, I sent last email incomplete:
>>
>>  <script>
>>     $(document).bind("dataload.exhibit", function() {
>>         $("a.myfunction").click(function(event) {
>>             event.preventDefault();
>>         <!-- rest of your function -->
>>         });
>>     });
>>     </script>
>>
>>
>> <a data-ex-href-content=".URL"  class="myfunction">mytest</a>
>
>
> I have modified my sample app, and written a stupid code that writes "ciao"
> on the console on click on my table cells. You can view the result also in
> this video: http://youtu.be/RBrPmLmjd2k?hd=1
>
> My question is always the same: what exhibit code I must write to read in
> the console not "ciao", the value of a particolar field for that record?
>
> I think something like
>     <script>
>     $(document).bind("dataload.exhibit", function() {
>         $("a.myfunction").click(function(event) {
>             event.preventDefault();
>             console.log(data-ex-content=".MyField");
>         });
>     });
>     </script>
>
> But it does not work.
>
> Thank you again
>
> --
> 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.

-- 
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.

Reply via email to