Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

when image click want to navigate another page

$
0
0

Hi

<img src='" + targetTable.Rows[i]["ProductImage"] + "'   onclick='ImgClick(this.id)' id='" + targetTable.Rows[i]["id"] + "' title='Sample Baby Hat' width='190px'/></a>

when i image click javascript il be called but doesnot go my Product.aspx page..

Javascript

function ImgClick(obj) {

window.location.assign("Product.aspx?Value=" + obj + "");--here called function but doesnot go product.aspx page
}

Thanks


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>