www.webdeveloper.com
Results 1 to 3 of 3

Thread: Can an TAG pass itself as an object to JavaScript function?

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Posts
    210

    Red face Can an TAG pass itself as an object to JavaScript function?

    Code:
    <input type="button" value="Click me" onclick="showPropertys(self)" />
    parameter 'self' is pseudo-code of the <input> object.
    I mean, the <input> passes itself as an object to a JavaScript function when clicking.

    Is this possible?
    If yes, please show code.

    Thanks.

    .

  2. #2
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    <input type="button" value="Click me" onclick="showPropertys(this)" />
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Apr 2005
    Posts
    210
    Jeff Mott,

    It works fine.

    Thanks.

    .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles