Till now we’ve looked at two important methods, the alert() method of the window object and write() of document object. You’ve also seen how text or numbers can be passed to these methods.
document.write("Your name is " + vis_name);
alert("Welcome " + vis_name + "\nHow are we today?");
Remember, a variable should be placed outside the quotes to display its value.
b2/cafelog written in PHP by Michel Valdrighi is the predecessor of WordPress. The popular blogging platform was developed by Matt Mullenweg and Mike Little in 2003. [more...]