Click to See Complete Forum and Search --> : Open Popup according ID
I have a page where you can select an item. The ID of this item will be attached to the URL and points to a page with more info. What I want to add is if somebody selects a specific item, let's say ID=12. He or she will be directed to the info page and a popup appears only related to this item with ID=12.
help or tips appreciated.
buntine
01-13-2005, 07:05 AM
You could pass the ID -- from the URL -- to a Javascript function, which opens the popup.
You can do this by simply grabbing the value and pasting it to the output.
<script language="javascript">
var intID = <%= Request.QueryString("nameOfIDparameter") %>;
</script>
You get the drift?
Regards.
thanks buntine,
this is exactly what I was looking for.
have a super day!