Optional function variable[Solved]
Posted: Thu Mar 03, 2005 7:07 am
I want something like
but var should be optional. if I call text() it gives a required argument error.
Is there a way to archive this?
Code: Select all
function test ($var) {
}Is there a way to archive this?