Results 1 to 2 of 2

Thread: Any way to record a javascript link?

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    WA
    Posts
    3
    Is there any way to record a link that when clicked calls up some javascript.

    Eg, here is the link. (javascript would be in header)

    <a href="javascript:addbookmark()">Bookmark</a>

    Is there anyway possible to log that action (into a db or txt file), with a php script? With javascript?
    netfxmedia.com
    web media with attitude (sm)

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    it would be complicated, but what i would do is to call a PHP/ASP script to proccess the result and redirect back to the original page(could launch in it's own window and then destroy the window), or you could develop a recursive page (ASP/PHP)(calls itself with a QueryString attached to it that tells it to log the count) and then display the data.

    Just some ideas?
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

Posting Permissions

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



Click Here to Expand Forum to Full Width