The Page object in ASP. NET has two methods that allow emitting of client-side JavaScript:
RegisterClientScriptBlock and RegisterStartupScript.
Example usage:
Page.RegisterClientScriptBlock("ScriptKey", "<script language=javascript>" + "function TestFn() { alert('Clients-side JavaScript'); }</script>");
Page.RegisterStartupScript("ScriptKey", "<script language=javascript>" + "function TestFn() { alert('Clients-side JavaScript'); }</script>");
ScriptKey is used to suppress the same JavaScript from being emitted more than once. Multiple calls to RegisterClientScriptBlock or RegisterStartupScript with the same value of ScriptKey emit the script only once, on the first call.
RegisterClientScriptBlock emits the JavaScript just after the opening tag. RegisterStartupScript emits the JavaScript at the bottom of the ASP. NET page just before the closing tag.
Web-garden - An IIS6.0 feature where you can configure an application pool as a web-garden and also specify the number of worker processes for that pool. It can help improve performance in some cases.
Web-farm - a general term referring to a cluster of physically separate machines, each running a web-server for scalability and performance (contrast this with web-garden which refers to multiple processes on one single physical machine).
Use the "value" property.
var myValue = window.document.getElementById("MyTextBox").value;
Determining the state of a checkbox in JavaScript
var checkedP = window.document.getElementById("myCheckBox").checked;

Select appropriate Question to view its more answers in this category of
Do you find any Answer incorrect or incomplete? Please e-mail us or
place your comment and mention the number of question or if you have correct answer then
open the appropriate question by clicking on question and then place your answer in comment
regarding particular question in this category "Basic JavaScript Interview Questions and Answers" To ensure quality,
each change is checked by our team, before it enters the main website
database. If you desire so, the changes will be credited to your name.
Webmaster Said:
Thank you.
Nicole Nanee Said:
Join Global GuideLine JavaScript Interview Questions and Answers at Face book at below url http://www.facebook.com/group.php?gid=34503886237
Regards, Global GuideLine Team.
sabir ali Said:
wordpress customize Said:
Always post the very useful question and answer..
Thanks a lot..
namaswamymanoj Said:
prveen Said:
ram Said:
good bye.
madhu Said: