<< < 94 95 96 97 98 99 100 101 102 103 104 > >>   Sort: Date

How to find radio button selection when a form is submitted?
How to find radio button selection when a form is submitted? &lt;script type="text/javascript"> function findButton() { var myForm = document.forms.animalForm; var i; for (i=0;i&lt;myForm.marsupial .length;i++) { if (myForm.marsupial[i].checked) { break; } } alert("You selected \""+myForm.ma...
2008-12-16, 4524👍, 0💬

How to add new elements dynamically.
How to add new elements dynamically. &lt;html xmlns="http://www.w3.org/1999/ xhtml"xml:lang="en" lang="en"> &lt;head> &lt;title>t1&lt;/title >&lt;script type="text/javascript"> function addNode() { var newP = document.createElement("p"); var textNode = document.createTextNode(" I...
2008-12-23, 4522👍, 0💬

Is it a good design practice to distribute the implementation to Remoting Client ?
.NET INTERVIEW QUESTIONS - Is it a good design practice to distribute the implementation to Remoting Client ? It’s never advisable to distribute complete implementation at client, due to following reasons:- * Any one can use ILDASM and decrypt your logic. * It’s a bad architecture move to have full ...
2009-08-26, 4513👍, 0💬

What is Managed Code and Unmanaged Code?
Managed Code and Unmanaged Code related ASP.NET- What is Managed Code and Unmanaged Code? Microsoft ASP.NET Web applications run under the control of the common language runtime (CLR). The CLR controls how the application’s assembly executes, allocates, and recovers memory; therefore, ASP.NET applic...
2009-03-30, 4511👍, 0💬

What is WSDL?
.NET INTERVIEW QUESTIONS - What is WSDL? WSDL stands for Web Service Description Language. It is a W3C specification which defines XML grammar for describing Web Services.XML grammar describes details such as:- * Where we can find the Web Service (its URI)? * What are the methods and properties that...
2009-10-07, 4503👍, 0💬

What is ViewState ?
.NET INTERVIEW QUESTIONS - What is ViewState ? Viewstate is a built-in structure for automatically retaining values amongst the multiple requests for the same page. The viewstate is internally maintained as a hidden field on the page but is hashed, providing greater security than developer-implement...
2009-06-30, 4500👍, 0💬

How to associate functions with objects using JavaScript?
How to associate functions with objects using JavaScript? Let's now create a custom "toString()" method for our movie object. We can embed the function directly in the object like this. &lt;script type="text/javascript"> function movie(title, director) { this.title = title; this.director = direc...
2011-08-09, 4495👍, 0💬

How does one get a form to run on Unix?
How does one get a form to run on Unix? You need to design your form on your workstation. FTP or copy the Forms's FMB file to the Unix box. If you generate for a terminal environment (character based), the syntax is: f45gen USERID=userid/passwd@db_name MODULE_TYPE=FORM MODULE=module_name If you want...
2011-05-10, 4490👍, 0💬

Does JavaScript have the concept level scope?
Does JavaScript have the concept level scope? No. JavaScript does not have block level scope, all the variables declared inside a function possess the same level of scope unlike c, c++, and java.
2008-12-02, 4490👍, 0💬

.NET INTERVIEW QUESTIONS - What is an Assembly?
.NET INTERVIEW QUESTIONS - What is an Assembly? * Assembly is unit of deployment like EXE or a DLL. * An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain refe...
2010-02-23, 4488👍, 0💬

What is Serialization Formatters in .NET Remoting ?
What is Serialization Formatters in .NET Remoting ? When any object is to be sent across the transport channel, it must be serialized and packed into a data format that can be transmitted with the wire. On the other end of the wire, this serialized data is read and deserialized back to the actual ob...
2009-03-27, 4488👍, 0💬

What is a Thread ?
.NET INTERVIEW QUESTIONS - What is a Thread ? A thread is the basic unit to which the operating system allocates processor time.
2009-11-03, 4487👍, 0💬

How to write messages to the screen without using "document.write()"?
How to write messages to the screen without using "document.write()"? Changing the contents of an element is a much better solution. When the method showStatus is invoked, it will change the content of the span. ... function showStatus(message) { var element = document.getElementById("mysta tus");el...
2011-02-15, 4486👍, 0💬

How to find the selected radio button immediately using the this variable?
How to find the selected radio button immediately using the 'this' variable? &lt;script> function favAnimal(button) { alert('You like '+button.value+'s.'); } &lt;/script> &lt;input type="radio" name="marsupial" value="kangaroo" onchange="favAnimal(this)">Kan garoo&lt;br />&lt;inp...
2008-12-09, 4485👍, 0💬

How to convert numbers to strings using JavaScript?
How to convert numbers to strings using JavaScript? You can prepend the number with an empty string var mystring = ""+myinteger; or var mystring = myinteger.toString(); You can specify a base for the conversion, var myinteger = 14; var mystring = myinteger.toString(16); mystring will be "e".
2009-02-25, 4483👍, 0💬

What are benefits and Limitation of using Hidden fields ?
.NET INTERVIEW QUESTIONS - What are benefits and Limitation of using Hidden fields ? Following are the benefits of using Hidden fields * They are simple to implement. * As data is cached on client side they work with Web Farms. * All browsers support hidden field. * No server resources are required....
2009-06-30, 4478👍, 0💬

How to set the cursor to wait?
How to set the cursor to wait? In theory, we should cache the current state of the cursor and then put it back to its original state. document.body.style.cursor = 'wait'; //do something interesting and time consuming document.body.style.cursor = 'auto';
2011-06-07, 4477👍, 0💬

How to open a window with no toolbar, but with the location object.
How to open a window with no toolbar, but with the location object. window.open("http://www.mysite .org/Misc/Pennies","Pennies"," resizable=yes,status=yes,toolbar=yes,locatio n=yes,menubar=yes,scrollbars=y es,width=800,height=400");
2009-01-13, 4473👍, 0💬

What are the different types of Assembly?
.NET INTERVIEW QUESTIONS - What are the different types of Assembly? There are two types of assembly Private and Public assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is normally store...
2010-02-23, 4472👍, 0💬

What is Abstract ?
What is Abstract ? NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based WebServices. .NET Remoting is easier to use than Jav...
2009-03-26, 4472👍, 0💬

How to disable an HTML object
How to disable an HTML object document.getElementById("myObj ect").disabled= true;
2008-12-16, 4458👍, 0💬

What is a CLS(Common Language Specification)?
.NET INTERVIEW QUESTIONS - What is a CLS(Common Language Specification)? This is a subset of the CTS which all .NET languages are expected to support. It was always a dream of Microsoft to unite all different languages in to one umbrella and CLS is one step towards that. Microsoft has defined CLS wh...
2010-02-16, 4450👍, 0💬

How to get values from cookies to set widgets?
How to get values from cookies to set widgets? function getCookieData(labelName) { //from Danny Goodman var labelLen = labelName.length; // read cookie property only once for speed var cookieData = document.cookie; var cLen = cookieData.length; var i = 0; var cEnd; while (i &lt; cLen) { var j = ...
2009-01-20, 4450👍, 0💬

What is the difference between RegisterClientScriptBlock and RegisterStartupScript?
What is the difference between RegisterClientScriptBlock and RegisterStartupScript? RegisterClientScriptBlock emits the JavaScript just after the opening &lt;form> tag. RegisterStartupScript emits the JavaScript at the bottom of the ASP.NET page just before the closing &lt;/form> tag.
2010-10-05, 4449👍, 0💬

<< < 94 95 96 97 98 99 100 101 102 103 104 > >>   Sort: Date