Using optional parameter in javascriptfunction optParam(param1, param2) {
param2=param2 || ""; ... } //call this function with second parameter as optional optParam(param1);
|
Tip Details Add a Related Tip |
Rate as:
Positive
Negative
|
Using optional parameter in javascriptfunction optParam(param1, param2) {
param2=param2 || ""; ... } //call this function with second parameter as optional optParam(param1);
|
Comments on this Tip | Add a Comment |
Static variables in Javascript
100% positive, 4 comments
- last added on Sep 12, 2008 at 12:18 pm
– Tip added by an anonymous user on Aug 03, 2007 at 4:19 pm
Telling when an iframe is done loading
100% positive, 1 comment
- last added on Sep 07, 2008 at 10:57 pm
– Tip added by an anonymous user on Apr 18, 2008 at 8:05 am
Scrolling HTML elements using the keyboard
100% positive, 1 comment
- last added on Jul 18, 2008 at 3:53 pm
– Tip added by rlansky on Jun 22, 2007 at 9:34 am
Using ASP.Net variables in your Javascript code
100% positive, 2 comments
- last added on Sep 04, 2007 at 7:12 am
– Tip added by an anonymous user on May 05, 2007 at 7:00 am
Matching any character in a javascript regular expression
100% positive, 1 comment
- last added on Oct 01, 2008 at 10:12 am
– Tip added by an anonymous user on Aug 18, 2008 at 9:06 am
Trimming whitespace in JavascriptCategories:
javascript
programming
100% positive, 0 comments
– Tip added by an anonymous user on Sep 13, 2007 at 1:54 pm
Great AJAX repository
100% positive, 0 comments
– Tip added by hindy on May 02, 2007 at 7:23 am
Link: www.ajaxprojects.com
Debugging Javascript
100% positive, 0 comments
– Tip added by an anonymous user on Sep 12, 2008 at 2:35 pm
Link: addons.mozilla.org
Optional parameters in javascript functions
100% positive, 0 comments
– Tip added by an anonymous user on Jul 30, 2008 at 10:44 am
Detecting if a variable exists in Javascript
100% positive, 1 comment
- last added on Sep 03, 2008 at 6:12 am
– Tip added by an anonymous user on Jul 22, 2008 at 8:31 am
Javascript Error: unterminated regular expression literal
100% positive, 0 comments
– Tip added by marty on Jun 26, 2008 at 1:20 pm
compressing javascript
100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 3:02 pm
Javascript variable naming
100% positive, 1 comment
- last added on Jul 22, 2008 at 8:33 am
– Tip added by an anonymous user on Sep 30, 2007 at 7:28 am
Creating vector graphics in javascript
100% positive, 0 comments
– Tip added by Marcos84 on May 10, 2007 at 2:44 pm
Link: www.walterzorn.com
attaching events to nodes in Javascript
no ratings, 0 comments
– Tip added by an anonymous user on Aug 18, 2008 at 11:23 am
animating elements with jQuery
no ratings, 0 comments
– Tip added by an anonymous user on Aug 04, 2008 at 1:46 pm
Javascript: How to Create a Random Number
0% positive, 0 comments
– Tip added by Walkere on Feb 23, 2008 at 9:49 pm
Link: www.earn-web-cash.com
Code for creating Javascript CSS charts
no ratings, 0 comments
– Tip added by an anonymous user on Aug 21, 2007 at 12:23 pm
Link: cssjuice.com
Efficient building of large strings in Javascript
no ratings, 0 comments
– Tip added by an anonymous user on Aug 08, 2007 at 12:52 pm
Avoid invalid title names when opening javascript windows
no ratings, 0 comments
– Tip added by an anonymous user on Aug 07, 2007 at 9:36 am
|
Related Categories
.Net
actionScript
blog
books
Bugzilla
coding
Computers
CSS
databases
design
digital photos
dojo
DOM
editors
email
errors
Facebook
firefox
FTP
google
HTML
humor
interviews
iPhone
Java
javascript
keyboard
Leopard
MySQL
php
plug-ins
Programing
programming
Python
Quick Look
reference
regexp
Ruby on Rails
shortcut
Smarty
speed
spring
web
web 2.0
web design
web development
web hosting
windows
xml
XP SP3
|