Originally Posted by devnull69
This is a typical AJAX task. Please take a look at the thousands of examples you will find on this forum as soon as you search.
Your example will not work. A DIV element does not have a location property.
Any guidence or some short example you can provide will be very helpful