Hi Luis,

On 4 May 2015 at 18:19, Luis Miguel Morillas <[email protected]> wrote:

> What do you want the onclick event do? You must program this action
> with a js function.
>

ok, thank you. 

But it's not possible to use simile exhibit to write content inside a 
function that is inside an HTML tag?

My goal is simple. Imagine I have the function openURL and something like 
Start from something like <td><a href="./test.html" onclick="openURL('
http://www.mysite.com');" >my text</a></td>

I have a list of arguments inside an exhibit db (a list of URL), and use a 
TabularView to create dinamically this HTML code. I'm looking for something 
like
<td><a href="./test.html" onclick="openURL(data-ex-content:".URL");" >my 
text</a></td> and produce something like

<tr><td><a href="./test.html" onclick="openURL('http://www.mysite1.com');" 
>my text</a></td></tr>
<tr><td><a href="./test.html" onclick="openURL('http://www.mysite2.com');" 
>my text</a></td></tr>
<tr><td><a href="./test.html" onclick="openURL('http://www.mysite3.com');" 
>my text</a></td></tr>
<tr><td><a href="./test.html" onclick="openURL('http://www.mysite4.com');" 
>my text</a></td></tr>
...

Then I have my function openURL, but I do not know how to use exhibit to 
fill dynamically its argument.

Thank you

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