10
Aug/090
Aug/090
Viewing page source after JS/AJAX changes
Ever needed to look at the source of a web page after it has been modified via JS/AJAX? In most browsers, viewing source on the page will show you the HTML as it was downloaded from the server before any changes were made “scriptually” . To view the source of the page as it is being currently displayed do the following:
9
Mar/080
Mar/080
Javascript Essentials
Looking into creating my own ASP.Net Control Extenders (like in the Ajax Control Toolkit), I found myself having to brush up on my Javascript. So here is a quick revision of what I (and maybe you too) need to remember.
Function declaration:
function SayHelloTo(nameStr) {
document.write('Hello ' + nameStr);
}
Function with return statement:
function add(x, y) {
return x + y;