How to link javascript?
I have a javascript that I want to have run when the link is clicked. How do I do it?
Example -> to cause a linked page to open at a certain size by using javascript.
Web Development
I have a javascript that I want to have run when the link is clicked. How do I do it?
Example -> to cause a linked page to open at a certain size by using javascript.
by johnvogel
To run a javascript program, whenever someone click on a link, you would use the onClick="" function. The syntax is:
Here's some HTML that does what you are talking about above, opens a link in a new sized window. You can copy this and pase it in your HTML editor.
Example
by azdavid99
by azdavid99
This discussion is closed to new replies.
Sort by Trending