Home

Document write a href onclick

Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site Apparently it works but because we cannot set 'Text' propertyattribute of tag we cannot see the generated hyperlinks. That would This topic was automatically closed 91 days after the last reply. New replies are no longer allowed. I have the following line of code in my Javascript file which I would like to call the function hide when the user clicks on the link test however it does not appear as a link on the page.

What do I included the javascript code of XI. JS in html, but after using document. write i didn't know i still have to do it again in the same document XI. JS using document. write and include the file again.

I wonder that nobody mention that problem on internet. Hello, I'm having a bit of an issue with onClick(), as I am very new to js and am trying to selfteach in a hurry. Any assistance would be greatly appreciated. You don't write a document in a paragraph. It's just something that you don't normaly do. The" document. write" writes a new document over the previous.

DOM Attribute DOM Console DOM Document DOM Element DOM Events DOM Event Objects DOM Geolocation DOM History DOM HTMLCollection DOM Location DOM Navigator DOM Screen DOM Style Location href Property Location Object.

points to a file within a web site (like An anchor URL points to I think I need to change the document. write to another if then I think I need to say something like. if clicks 3 redirect, else display document. write thank you so much, this is exxxxactly what I need with one exception: when I change the statement by clicking next OnClick previous document.

writes do not dissappear! I need that 'Fees' and 'Fies' to change, overwrite each other. .