plz help me verify this... calling function

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 29th, 2006, 01:35
New Member
Join Date: May 2006
Location: earth
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation plz help me verify this... calling function

<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.
Reply With Quote

Reply

Tags
plz, help, verify, calling, function

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43