shorten a method string
- From: "neoswf" <neoswf@xxxxxxxxx>
- Date: 31 Jan 2006 03:58:22 -0800
hi. i want to shorten getElementById() string at my files.
ive writen this function:
function gebi(el){
document.getElementById(el)
}
and when i try to call an ID, i try to call him like this:
gebi('myID').
but this method doesnt succeed.
can you please assist me to achive that goal?
tnx
NeoSwf
.
- Follow-Ups:
- Re: shorten a method string
- From: Evertjan.
- Re: shorten a method string
- Prev by Date: Re: Keep track of parent node
- Next by Date: Re: ajax bookmark problem
- Previous by thread: Getting the collection of checkboxes
- Next by thread: Re: shorten a method string
- Index(es):
Relevant Pages
|