InnerHTML Problem
Posted: Mon Aug 04, 2008 7:42 am
I have a few problems at present with what I though was a fairly simple piece of Javascript. When a specific event occurs a Javascript function is called which alters the HTML that appears between two Div tags by the use of document.getElementById(divname).innerHTML.
This works fine. However, one of these changes an image so that it displays the image chosen in a file selection text box. This works fine on all the desktops I have tried (four), but gives no image [ie little traingle, circle, square icon] on all the laptops (four). It does not appear security settings or the browser, but I am in the dark as to why laptops would behave differently to desktops in this regard.
Has anyone ever encounter this problem?
Thanks,
Robert
This works fine. However, one of these changes an image so that it displays the image chosen in a file selection text box. This works fine on all the desktops I have tried (four), but gives no image [ie little traingle, circle, square icon] on all the laptops (four). It does not appear security settings or the browser, but I am in the dark as to why laptops would behave differently to desktops in this regard.
Has anyone ever encounter this problem?
Thanks,
Robert