This is a discussion on "plz help me verify this... calling function" within the JavaScript Forum section. This forum, and the thread "plz help me verify this... calling function are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
plz help me verify this... calling function
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
<jsp:useBean id = "pc" class="common.claim" scope="request" /> <script language="javascript">function chkQty(x) { if(eval("document.breakdown.b_progQty"+x+".value") == '') { alert("The progress to date quantity do not have value."); eval("document.breakdown.b_progQty"+x).focus(); } else if(eval("document.breakdown.b_progQty"+x+".value") < qty) { alert("The entered value for progress to date quantity is less then previous value."); eval("document.breakdown.b_progQty"+x).value = qty; eval("document.breakdown.b_progQty"+x).focus(); } else calcQtyPect(x); } function calcQtyPect(p) { <% qty = request.getParameter("b_progQty"+p); laqty = request.getParameter("b_laQty"+p); calPect = pc.calcQtyPect(qty,laqty); %> eval("document.breakdown.b_progPect"+p).value = calPect; } </script> <input type="text" size=8 name="b_progQty<%=c%>" id="progLump" value='<%=b_progQty.elementAt(c)%>' style="text-align:right;background:#ffffcc" onChange="chkQty(<%=c%>);">
plz help me to verify the above coding whether correct or not. thx. Last edited by melvinoyh; May 29th, 2006 at 01:38. |
|
|
![]() |
| Tags |
| plz, help, verify, calling, function |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calling functions in a function | fatsurfer | PHP Forum | 1 | Jun 12th, 2008 21:53 |
| calling php function on click of a hyperlink | csun | PHP Forum | 2 | Jul 15th, 2007 16:27 |
| writing a function to verify data inputted in textboxes | jayaime | JavaScript Forum | 2 | Jul 4th, 2006 03:29 |
| Difficulty calling a javascript function? | grittyminder | JavaScript Forum | 4 | Jul 21st, 2005 17:48 |
| calling a javascript function in from VBscript | jakyra | Classic ASP | 2 | Sep 22nd, 2003 23:13 |