The following will give you a way to do what you want :

<script>
        function UpdateMe(Type)
        {
                if (Type == "Blue")
                {
                        $("#AreaToView").HTML("Blue Stuff");
                } else {
                        $("#AreaToView").HTML("Red Stuff");
                };
        };
</script>

<a href="javascript:UpdateMe(Red)">Red Product</a> | <a
href="javascript:UpdateMe(Blue)">Blue Product</a>

<div id="AreaToView">
        Red Stuff
</div>

Reply via email to