Thank you for the info but I have already try this and it doesn't work as I expected. This kind of script is not able to add the script to HTML tag. If you read the script you will see that it doesn't attribute a function to the click.
What I am looking for is something which is able to write the script "physically" on the page. In such way when you save the page you can find the information you have created. What I am looking for it is a kind of setAttribute because all the code which refer to UIEvent, dispatchEvent, initEvent, initMouseEvent... manage the behavior of the event virtually and the creatEvent doesn't write the event it is more like a punctual event. I hope I succeeded to make myself understand. The script of your page is not a IE script is a standard script expect for the declaration of the variable. Berry >You needed to search further: > >(searched Google with "createEvent javascript") > >http://www.itworld.com/nl/javascript/05072002/ > >But you may find it will only work with IE. > >Regards, >Gary > > ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
