iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old May 28th, 2006, 10:35 PM   #1
New Member
 

Join Date: May 2006
Location: earth
Age: 25
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 melvinoyh is on a distinguished road
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 28th, 2006 at 10:38 PM..
melvinoyh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
plz , help , verify , calling , function


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 1 June 12th, 2008 06:53 PM
calling php function on click of a hyperlink csun PHP 2 July 15th, 2007 01:27 PM
writing a function to verify data inputted in textboxes jayaime JavaScript 2 July 4th, 2006 12:29 AM
Difficulty calling a javascript function? grittyminder JavaScript 4 July 21st, 2005 02:48 PM
calling a javascript function in from VBscript jakyra Classic ASP 2 September 22nd, 2003 08:13 PM


Search Engine Optimization by vBSEO 3.2.0 RC8