problem with preview (General)

by Uwe Loyal @, Wednesday, January 09, 2008, 09:04 (5952 days ago) @ Uwe Loyal
edited by Alfie, Wednesday, January 09, 2008, 23:41

Hi Alex!

I get an error in preview in IE7 with the following message:

Zeile: 411
Zeichen: 5
Fehler: Objekt erforderlich
Code: 0
URL: http://localhost/forum_v2/forum/index.php?mode=index

Where is the problem?
Sometime it shows me a preview and sometime not!

Rgds
Uwe Loyal

The Error is in Javascripts.js:

function updatepage(id,xml){
 
    //var subject = xml.getElementsByTagName('subject')[0].firstChild.data;
    var content = xml.getElementsByTagName('content')[0].firstChild.data;    
    if(content=='') content = '<p>-</p>';
    document.getElementById("ajax-preview-content").innerHTML = content;

...

Does anyone know why?

Rgds
Uwe Loyal

--
Edit: Syntax-highlighting added to get rid of the smilie-bug.
The reported error is in line 410 (2.0beta19) starting with   var content... [Alfie]

locked
3211 views

Complete thread:

 RSS Feed of thread