Hi,
On my HTML I have:
On my Js I have:PHP Code:<a href="#" name="upload/1.png" onclick="aImg(this.name)" id="bigger">Hi</a>
For some reason it doesn't alert me the name of the file which is in the a tag, when I click on the link.PHP Code:aImg(file){
alert(file);
}
Thanks in advanced!



Reply With Quote
Bookmarks