I was thinking of creating a blog for myself, so far i have made this function which is work with two textfeilds in my index file.
[CODE]function UpdateBlog(Title,Main) {
var tmp = this.document;
if (Title == “” || Main == “”) window.alert(“One of the feilds is empty.”); else
tmp.write(‘<html><head><link rel=”stylesheet” type=”text/css” href=”style.css”></head><center><body><div id=”Title”><center><b>’+Title+'</b></center></div><div id=”Main”>’+Main+'</div></body></center><br/><br/></html>’);
tmp.close();
}
As you know the “this.document.write()” just overwrites temporary to the current document, but what i want is to have a blog.html where the data that i write just adds on a BlogUpdate everytime i submit permanent.
I have searched google for like 5 hours and tested my own tequnices out, but i am out of ideas. Please respond if you know the solution.
//HaxxBlaster