MochaLover
03-28-2003, 02:55 AM
Hi,
I am doing a XML-based guestbook with ASP. I have the following codes in the 1st frame. ReadXML() is a prototype that will read the XML object and populate the fields of the guestbook.
Code:
var GuestBook = new XML;
GuestBook.ignoreWhite=true;
GuestBook.onLoad=function(sucess) {
if (sucess) {
GuestBook.ReadXML();
gotoAndPlay(3)
}
}
GuestBook.load("GuestBook.xml");
My problem is: when an entry is submitted, the ASP inserts the entry into the XML, I try to reload the XML object by going to the above frame. It is however, not re-loaded, even though I have the new XML command.
Am I doing it wrongly? Or is there a better way?
Help please!
Thanks in advance.
I am doing a XML-based guestbook with ASP. I have the following codes in the 1st frame. ReadXML() is a prototype that will read the XML object and populate the fields of the guestbook.
Code:
var GuestBook = new XML;
GuestBook.ignoreWhite=true;
GuestBook.onLoad=function(sucess) {
if (sucess) {
GuestBook.ReadXML();
gotoAndPlay(3)
}
}
GuestBook.load("GuestBook.xml");
My problem is: when an entry is submitted, the ASP inserts the entry into the XML, I try to reload the XML object by going to the above frame. It is however, not re-loaded, even though I have the new XML command.
Am I doing it wrongly? Or is there a better way?
Help please!
Thanks in advance.