A
Andy
Hi,
I have an iframe in my page that holds internal documents. I am able
to create links from one page to another in that iframe, by using the
document.createElement('a') function, and then I set 'href' and/or
'onclick'.
The problem is that the browser does not go to an href page when the
tag is clicked but calls an ajax function that loads a page from my
database into the iframe. I tested the visited state of such a tag,
and it never changed to visited color after clicking and causing the
javascript function of the dynamic tag to execute. I even tried
creating a unique href, but unused, while having an onclick attribute,
but that didn't help.
Is there any way I can get the browser to remember the visited state
for such an anchor tag which does not actually load a page from a url?
Andy
I have an iframe in my page that holds internal documents. I am able
to create links from one page to another in that iframe, by using the
document.createElement('a') function, and then I set 'href' and/or
'onclick'.
The problem is that the browser does not go to an href page when the
tag is clicked but calls an ajax function that loads a page from my
database into the iframe. I tested the visited state of such a tag,
and it never changed to visited color after clicking and causing the
javascript function of the dynamic tag to execute. I even tried
creating a unique href, but unused, while having an onclick attribute,
but that didn't help.
Is there any way I can get the browser to remember the visited state
for such an anchor tag which does not actually load a page from a url?
Andy