The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
javascript - getElementsByTagname Problem
hi
i have a form which comes with an ajax response and looks like this: Code:
<?xml version="1.0" encoding="windows-1252"?> <template><![CDATA[<form><input type="text" name="bildname"><input type="submit">]]></template> <bildid>3906</bildid> Code:
showform:function(ajax){ var error = ajax.responseXML.getElementsByTagName("error")[0]; if (error){ alert(ajax.responseXML.getElementsByTagName("error")[0].firstChild.nodeValue); } else { var bildid = ajax.responseXML.getElementsByTagName("bildid")[0].firstChild.nodeValue; fetch_object("formcontainer_"+bildid).innerHTML =ajax.responseXML.getElementsByTagName("template")[0].firstChild.nodeValue; } } Quote:
--------------- Added [DATE]1197645091[/DATE] at [TIME]1197645091[/TIME] --------------- nobody a idee? |
#2
|
|||
|
|||
problem solved
i hadn't a group in the xml file so the file was "wrong" |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|