PDA

View Full Version : javascript


phani
10-04-2002, 09:41 AM
hi,

how to call a file on clicking on the link through javascript, because i need to submit a form on clicking the link.Here is the code of the anchor tag i used
<td width="10%" class="inputFormLeft"><a href="" onclick="javascript:deleteskill()"> Delete</a></td>

ASAAKI
10-04-2002, 10:14 AM
isn't it supposed to be
<a href="javascript:deleteskill()">Delete</a>
u should take the "onclick" away.

otherwise u cud do this:
<a href="#" onclick="deleteskill()">Delete</a>