|
|
|
Tuesday, 31 January 2012 09:25 |
Add following lines to your javascript function
var hyplnk = document.getElementById('<%= HypLnk.ClientID %>');
hyplnk.href = 'http://snippets.dzone.com/user/indranilhafa'
 Read more: |
|
|
Monday, 26 December 2011 00:32 |
JavaScript variables have an identifier, scope, and a specific data type. Because the language is loosely typed, the rest, as they say, is subject to change without notice.
Variables in JavaScript are much like those in any other language; you use them to hold values in such a way that the values can be explicitly accessed in different places in the code. Each has an identifier that is unique to the scope of use (more on this later), consisting of any combination of letters, digits, underscores, and dollar signs. An identifier doesn’t have a required format, other than it must begin with a character, dollar sign, or underscore:
_variableidentifier
__variableidentifier
variableIdentifier
$variable_identifier
var-ident
Starting with JavaScript 1.5, you can also use Unicode letters (such as �) and digits, as well as escape sequences (such as \u0009) in variable identifiers. The following are also valid variable identifiers for JavaScript:
_�valid
T\u0009
Use special characters with caution, though, as some tools such as debuggers may have difficulty with them.
JavaScript is case-sensitive, which means it treats upper- and lowercase characters differently. For instance, JavaScript sees the following two variable identifiers as separate variables:
stringVariable
stringvariable
 Read more: |
|
Monday, 26 December 2011 00:23 |
A JavaScript alert is a simple window containing a message.
Here is what the code looks like — it's just one line (inside the JavaScript tag):
The text inside the parentheses is what is shown in the alert message. If you want to show a string of literal text, enclose the text in quotes. To display variable values, enter the variable name without quotes. You can also combine variable values and text strings by using the + sign. For example:
function showAlert() {
var country = "Fiji";
var city = "Suva";
alert('The city of ' + city + ' is located in ' + country + '.');
}
 Read more: |
|
|
Monday, 20 December 2010 16:14 |
|
iAd Producer makes it easy for you to design and assemble high-impact, interactive content for iAd. iAd Producer automatically manages the HTML5, CSS3 and JavaScript behind your iAd to make creating beautiful, motion-rich iAd content as easy as point and click. For advanced developers, iAd Producer offers sophisticated JavaScript editing and debugging, along with a powerful extension mechanism that enables them to create and re-use their own page templates and components. Learn more about the features of iAd Producer. 
Read more: |
|
Monday, 29 November 2010 03:00 |
 | About Stunnix JavaScript Obfuscator
Obfuscate (make unreadable), watermark, encode or compress JavaScript in raw .js files, and inside markup in .html/.php/.jsp and other files with html or xml markup. Also you can make JavaScript expiring or bound to certain host name.
- Code can optionally be encoded after protection.
- Names of local variables can be made as short as possible.
- Can make JavaScript code expiring or bound to certain domain name.
- Includes advanced GUI with IDE-style functionality.
- Can protect “dynamc” JavaScript (pieces of JavaScript code inside strings of some server-side language).
- Has special debugging modes to prepare JavaScript for obfuscation faster.
- A lot of ways to mangle names, strings or integers.
- Can mangle HTML/XML markup and remove comments too.
- Many more features. |
Read more: |
|
|
|
|
|
|
|