Searching for "ING"

Q:

What are the differences between GET and POST methods in form submitting?

Answer

On the server side, the main difference between GET and POST is where the submitted is stored. The $_GET array stores data submitted by the GET method. The $_POST array stores data submitted by the POST method.

On the browser side, the difference is that data submitted by the GET method will be displayed in the browser’s address field. Data submitted by the POST method will not be displayed anywhere on the browser.

GET method is mostly used for submitting a small amount and less sensitive data.
POST method is mostly used for submitting a large amount or sensitive data.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Which of the following navigator object properties is the same in both Netscape and IE?

A) navigator.appCodeName B) navigator.appName
C) navigator.appVersion D) None of the above
 
Answer & Explanation Answer: A) navigator.appCodeName

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which class provides an interface for invoking JavaScript methods and examining JavaScript properties.

A) ScriptObject B) JSObject
C) JavaObject D) Jobject
 
Answer & Explanation Answer: B) JSObject

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which of the following is added to prefs.js,when open a dialog box each time an error occurs?

A) user_pref("javascript.classic.error_alerts", true); B) user_pref("javascript.classic.error_alerts ", false);
C) user_pref("javascript.console.open_on_error ", false); D) user_pref("javascript.console.open_on_error ", true);
 
Answer & Explanation Answer: A) user_pref("javascript.classic.error_alerts", true);

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which of the following is not considered a JavaScript operator?

A) new B) this
C) delete D) typeof
 
Answer & Explanation Answer: B) this

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

Which of the following can't be done with client-side JavaScript?

A) Sending a form's contents by email B) Storing the form's contents to a database file on the server
C) Validating a form D) None of the above
 
Answer & Explanation Answer: B) Storing the form's contents to a database file on the server

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

Q:

What is Javascript namespacing? How and where is it used?

Answer

Using global variables in Javascript is evil and a bad practice. That being said, namespacing is used to bundle up all your functionality using a unique name. In JavaScript, a namespace is really just an object that you’ve attached all further methods, properties and objects. It promotes modularity and code reuse in the application.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

Q:

How to determine the state of a checkbox using Javascript?

Answer

var checkedP = window.document.getElementById("myCheckBox").checked;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology