Basically i have no idea where to put this since its basically a outside script from joomla framework but i will be calling it from the joomla site with php.
anyway how can i display a link based on a variable
this doesnt and i know it, What would be the right way to send a link to the div?
Code:
document.getElementById('composer').innerHTML = "<b>Read More About</b>: <a href= "<a href='http:/sitename.com/folder/" + aj_results[8]> linkname</a>">;
basically i would like to know how to get the above example to work. then from just that is it possible. to then make linkname another variable
Code:
document.getElementById('composer').innerHTML = "<b>Read More About</b>: <a href= "<a href='http:/sitename.com/folder/" + aj_results[8]> " + aj_results[9]</a>">;
this works to display the url where result 5 is to make a image show up
Code:
document.getElementById('picture').innerHTML = "<img src=http://sitename.com/folder/" + aj_results[5] +" width='150' height='150'>";