Onclick Javascript error ?

  •  07-30-2004, 6:52 AM

    Onclick Javascript error ?

    Hi

     
    Every time i click the mouse within the editor, i get a javascript error, object required.
    When i debug the JS in visual studio, the highlighted line is :
     
    var host = window.open('UploadDialog.aspx?Id=_ctl0' + ((document.getElementById('_ctl0').value!='') ? '&selectedfile=' + document.getElementById('_ctl0').value : ''), 'browse', 'width=700,height=400,status=yes,resizable=yes');
     
    I am not sure why it is trying to open a window on every mouse click?
     
    Have i got something set wrong?
     
    Thanks in advance
     
    James Whittaker
View Complete Thread