// for Single line comments and
/* Multi
Line
Comment
*/
// for Single line comments and
/* Multi
Line
Comment
*/
To submit a form using JavaScript use document.form[0].submit();
document.form[0].submit();
‘ViewState’ is specific to a page in a session.
‘SessionState’ is specific to user specific data that can be accessed across all pages in the web application.
Yes, it’s possible to integrate (Distributed) Component Object Model components ((D)COM) in PHP scripts which is provided as a framework.
The status can be read as follows
alert(document.getElementById(‘checkbox1′).checked);
If the CheckBox will be checked, this alert will return TRUE.
Strict Mode adds certain compulsions to JavaScript. Under the strict mode, JavaScript shows errors for a piece of codes, which did not show an error before, but might be problematic and potentially unsafe. Strict mode also solves some mistakes that hamper the JavaScript engines to work efficiently.
Strict mode can be enabled by adding the string literal “use strict” above the file
Unshift method is like push method which works at the beginning of the array. This method is used to prepend one or more elements to the beginning of the array.
Basic Groups Of Dataypes Are
Following are looping structures in Javascript:
APC is a great operation code caching system for PHP that can help speed up your site. PHP is a dynamic server-side scripting language that needs to be parsed, compiled and executed by the server with every page request. In many cases though, the requests produce exactly the same results which means that the cloud server has to unnecessarily repeat all these steps for each of them.
This is where APC comes into play. What it does is save the PHP opcode (operation code) in the RAM memory and if requested again, executes it from there. In essence, it bypasses the parsing and compiling steps and minimizes some unnecessary loads on the cloud server.