954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

unable to call function on load

in my form
i give the user two options,
either to 'add a new transaction' or delete an existing one.
the code for it is:
for add transaction

<table align=center border='1' bordercolor="#ffffff" cellpadding="0" cellspacing="0" class='verdana2' width="100%">
<tr 
<td bgcolor='#cccccc' align='middle'> <b><A style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Sans-Serif; TEXT-DECORATION: none" href="Input.asp" ><center>Add New Transaction</center></a></b> </td>
</tr>
</table>


for delete transaction ( use sessions with it)

<td align='left' class='cellDesc'>
<A style="TEXT-DECORATION: none" href='Input.asp?sessionNum=<%=rsData.fields("ENTRY_NUMBER")%>' >
<IMG alt="Modify Transaction Details" src ="images/configpencil.png" border=0 >
</A>   
</td>


and on input form in the body tag i write

<body onload="test();">


the function is called , when i am using the 'add new transaction'
but is not called when i use the 'edit transaction'

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You