To get the source of the image from the img tag use: var imageLocation= $('#idOfImage').attr('src'); Now pass this variable to the function below.
確定! 回上一頁