Dear experts,
I'm not sure the right forum to ask. I decided to put it here.
Clicking the button works fine in IE but NOT in Firefox. In a broader case my <script>s do not work in Firefox.
Any hints?
TIA
mansii
I'm not sure the right forum to ask. I decided to put it here.
Clicking the button works fine in IE but NOT in Firefox. In a broader case my <script>s do not work in Firefox.
Any hints?
Code:
<button onclick="getUpload('frmUpload.cfm','upload')"><strong>Upload</strong></button>
<script>
function getUpload(sForm,uType){
var sURL = sForm;
sURL = sForm+'?uFolder='+uType;
var rst = showModalDialog(sURL, '', 'dialogWidth:600px; toolbar:0; dialogHeight:300px; status:0; resizable=0;');
if (rst == "Refresh"){window.location="../Mainpage"};
};
</script>
TIA
mansii