Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Textfield with image calling function

$
0
0

Hello,

I am looking for a way to have a action on an image loaded into a text field

 

her is my code

 

function SelectionImage(reference){

 

     alert('test ! = '+reference)

 

}

 

var ContenuPrint = '<a href="javascript:void(0)" onClick = "SelectionImage('32');" ><img id="32" src="landscape.jpg" ></a>';

 

sym.$("ChampsText").html(ContenuPrint);

 

but this doesn't work

any idea ?

thank for your help


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>