A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
how to get the object name when i pass parameter " this" ?
Joined: Apr 13, 2005
Jun 02, 2005 22:06:00
hi, is it possible that when we pass a "this" as function parameter, then we can get back the object name ?
if we have checkbox field as below
input type= "checkbox" name="chkbox1" onclick="selectCheckBox(this)"
and when user click select or unselect checkbox, and the selectCheckBox(this) function will call .. but then can we get the name of checkbox which is in this case as "chkbox1" ?
thank you for answering
Joined: Nov 08, 2001
Jun 03, 2005 16:55:00
As I said before the posts got deleted due to the server problem,
You would just do
I agree. Here's the link:
subject: how to get the object name when i pass parameter " this" ?
insertCell() method's returned object properties
Dynamic form/checkbox problem
MultiDimenaional Array sort
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014