The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
ajax output
How workts the part with the ajax output?
I have this code: Code:
function del_link(linkid){ var link = linkid; dellink = new vB_AJAX_Handler(true); dellink.onreadystatechange(handle_dellink); dellink.send('linkliste.php?' + SESSIONURL + 'do=del', 'linkid=' + link); return false; } function handle_dellink(){ if (dellink.handler.readyState == 4 && dellink.handler.status == 200) { if (dellink.handler.responseXML) { var error = me.xml_sender.fetch_data(fetch_tags(dellink.handler.responseXML, 'error')[0]); if (error) { alert(error); } else { var ausgabe = dellink.fetch_data(fetch_tags(dellink.handler.responseXML, 'response')[0]); fetch_object('danieltest').innerHTML = ausgabe; } alert(dellink.handler.responseText); } } } PHP Code:
Now i want to write "gel?scht" into the danieltest - div But heres now a error:: Quote:
--------------- Added at 17:24 --------------- problem solved |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|