I have a form with some javascript. The form is used exclusively on the web. When the user selects a value in a dialog list (‘Banner’ field), I’m using an iFrame to populate the values in another dialog list (‘Stores’ field) on the form. My onChange code in the ‘Banner’ field is:
var form = window.document.forms[0];
ban = this[this.selectedIndex].text;
var dbPathNm = form.DbPathName.value;
var iframe = document.getElementById(‘StrFrame’);
iframe.src=‘/’ + dbPathNm + ‘/wStoreList?ReadForm&Ban=’ + ban;
And the code on wStoreList is
This works perfectly in IE, but the dialog list isn’t being populated in Safari. There are no errors, but the ‘Stores’ field has no choices/options.
Can anyone see anything that may be causing the problem? I’m pretty new to javascript and completely unfamiliar with Safari. Any help/pointers are appreciated.