Dear all, I am using javascript to specify the target link. It is not working properly. What change should I do in order for it to work correctly.
My code:
var link = create_element(cell, 'img');
link.setAttribute("src", "images/sub.png");
link.href = "http://localhost/";
Kindly help me