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 
<http://petrusino.opendatasicilia.it/index_test.html>, 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  
<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.

Reply via email to