I am new to javascript. Is there a simple way or possible way to change the url of a filename using links?
e.g.
HTML Code:
<sometag fileurl="http://www.here.com/file1" /><a href="#" onclick="change sometag url to \"http://www.here.com/file1\"">Change to file 1</a><a href="#" onclick="change sometag url to \"http://www.here.com/file2\"">Change to file 2</a><a href="#" onclick="change sometag url to \"http://www.here.com/file3\"">Change to file 3</a>