Use Php Inside Javascript Snippets


27 August, 2011   

The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support client-side scripting. The noscript element can contain all the elements that you can find inside the body element of a normal HTML page. The content inside the noscript element will...

C code example to check whether the given point P is inside a Triangle or Not

Detect Javascript On/Off, With Notification: If JavaScript is on the user gets a welcome message. If off, the user is instructed to turn it on.

Confirm a deletion (or any action) with Javascript.

30 January, 2011   

Applying Even/Odd Classes

27 May, 2013   

The stuff inside the /* */ marks are CSS comments

When creating a new object, pass the initial variables as an array. Then use this code to quickly assign the array vars to the class vars. This will mean importing large arrays into the object in three lines of code.

06 March, 2012   

An example code for JavaScript Jump Menu

06 August, 2011   

The stuff inside the /* */ marks are CSS comments. This allows you to enter notes into CSS that will not be interpreted. In this case, this comment lets someone reading the CSS file know that that particular line of CSS was intended to allow for using ems to set font size later in the CSS in a more intuitive base 10 way.

04 July, 2012   

Good programmer comments their code so that anyone can know what is happening in code. Its easy for others to edit the code.

This example code showing how to use PHP Functions to clean User Input

06 June, 2012   

This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.

06 May, 2013   

Code example for Month Day Year Dropdown

27 October, 2011   

An example to include another PHP file into a PHP script

29 October, 2011   

Here shown an example how to Compress CSS with PHP

27 May, 2013   

Example shows here how to compress CSS with PHP

11 February, 2012   

JavaScript Code to show a message box or a alert window when page opens

Example source code for function pointer to member function of class

C++ code snippet for function pointer to member function of class

26 April, 2012   

JavaScript code example for Table Row Highlight