Displaying 1 result from an estimated 1 matches for "whatup".
Did you mean:
whatsup
2007 Jun 06
1
How to get title from a link
...o manipulate the
title of a link, so I need to know how to read the title with $().
Here is some code.
[START CODE]
<html>
<head>
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript">
function whatUp()
{
var p = $(''firstTest'');
alert(p.title);
}
</script>
</head>
<body>
<a id="firstTest" href="http://www.google.com" title="I think this
is not working ">What did I say</a>
<button onclick="...