Thanks for the answers, i see some daylight now, but.... i already have a normal onclick event on the image, triggering my normal js function: squareClicked(row,col,isEmpty) { // my other normal js function
// with jquery : showing message div // my jquery post to taconite plugin page, processing gamedata and returning xml data to update gamepage // with jquery: hiding message div. } Where and how do i implement var fileName = $(this).attr('src'); This is the javascript link: <a href='JavaScript:squareClicked(a,b, true)'><img src='images/ test.gif></a>