1 button to call 2 functions
Hi,
Can anyone help me? I'm new in Java programming. I'm using Dreamweaver. I have this form where this one button is suppose to call 2 functions. 1 function to insert data : eg. document.search.action.value = "insertsuccess"; 2nd function to view iReport : eg. document.pdf; Is this possible to do? How do I define the form action because to view a report I have to define as below : <form action="<%=request.getContextPath()%>/servlets/pdf" method="post" name="pdf" target="_blank" > and a normal form would be to define as below: <form action="<%=request.getContextPath()%>/servlets/pdf" method="post" name="pdf" target="_blank" > Need help urgently!! Back to top |
|||||
Please read the HTML forum rules. No dreamweaver support, sorry.
The rules recommend other forums to try for wysiwyg support. Back to top |
|||||
All times are GMT - 8 Hours
|