Multiple IDs in getElementByIDs
var target = (e && e.target) || (event && event.srcElement);
var obj = document.getElementById('content');
basically i have two divs with different ids i need to have this functionality on both the divs. when i am putting the script for a single div its works fine. my question is how can i have the functionality with two different divs having two different ids.
thanks in advance
Please only post one thread, posting more then one will not get anymore attention.