Results 1 to 1 of 1
Thread: Strange behaviour
Jul 21, 2006, 11:41 #1
- Join Date
- Apr 2004
- RS, Brazil
- 0 Post(s)
- 0 Thread(s)
I'm working on a simple image uploader. I'm calling a popup with the form to upload an image, after the user submits the image, this popup calls
window.opener.setImg('http://something/myimage.jpg'); which is placed in a text field.
Then i've create a doPreview() to automatically load this image. To activate this function I tried to add a "onChange" on the text field changed by "setImg" but its not working.
Even if i just insert an simple alert(); on this doPreview function, it's not being called.
If i edit the text field manually everything works fine.
This is the only thing that is not working... the setImg() works fine and actually changes the text. but it seems that the browser doesn't recognizes it as a change.