Results 1 to 2 of 2

Thread: Detect Element ID onClick

  1. #1
    Join Date
    Jun 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Detect Element ID onClick

    Hi

    I'm having serious difficulty with the following script concept:

    (Element: DIV / Textbox)

    I need a script that detects an element's ID during an onClick or onMouseover and passes it to a unique variable.
    Ideally, the script should be an external / global script and not be embedded within the element (all elements will be assigned an ID) - (The Onclick/Mouseover event can be called from the element).

    Your help will be greatly appreciated!!

    Thanks in advance,
    Kermit

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please don't double post. As this is your first time with us, this was probably an honest mistake. My main reason for replying here is to redirect others who may wish to join the discussion to please use the 'active thread', hopefully avoiding some confusion.

    admin - if no relevant replies found here, please delete this thread.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •