document.getElementById("buttonIDHere").parentNode.id

On 2/14/06, indu ss <[EMAIL PROTECTED]> wrote:
> Is it possible to get the DIV id or name from an
> element which is embedded in the DIV.
>
> Say a button  is embedded in DIV . By passing the
> button name to the document object can we the DIV Id?

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:33:2246
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/33
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:33
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.33
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to