Readonly and onChange

Hi there

I have some readonly input text box on which i write some data.
If I put a onChange attribute on those input text, the event never rise, even the values from the field are changing.

I change the values of my readonly textboxes using a javascript function.

how to solve my problem. maybe the onchange event is not good to use in my case. What to use? How?

onchange is triggered by a user action, not by script altering the value. Why do you need an event handler to respond to the action of your code?
If your script is causing the event then it knows when to respond to it.