It doesn't work at all!

пятница, 1 мая 2015 г., 0:35:35 UTC+3 пользователь Charles написал:
>
>
>
> On Thursday, April 30, 2015 at 9:52:00 AM UTC-7, Andrea Borruso wrote:
>>
>> Hi,
>> I need to combine ex:content and Javascript.
>>
>> Something like
>> <a ex:href-content=".URL" onclick="myfunction(ex:content='.URL'); return 
>> false;">my text</a>
>>
>> But I obtain something wrong:
>> <a onclick="myfunction(ex:content='.URL')" href="http://myurl.com";>my 
>> text</a>
>>
>> And not:
>>
>> <a href="http://myurl.com"; onclick="myfunction('http://myurl.com'); 
>> return false;">my text</a>
>>
>>
>> What's wrong in my code?
>>
>>
>> Thank you very much
>>
>
> try ex:onclick instead of just onclick
> that's what worked for me. fyi I am using v2.2. 
> best of luck.
> Charles
>

-- 
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 https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to