Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2006, 10:42 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default Unable to call function...

Hi all,

For below code everything is fine except that it is not calling ShowTask function, i have cheked parameter by putting them in alert box and it show correct value.
The function is just define below the code (in actual file...)
Any idea...?
function projectk()
{
//---If only one Project then
if (i == 1)
{
 document.getElementById("ProList"+id).selectedInde x = 1; // Select it
 ShowTask(document.getElementById("ProList"+id).val ue,id); // Call to show Task
}
else
{
 Do something...
}
}
function Showtask()
{
}
Thanks in advance.

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old July 1st, 2006, 04:53 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi rupen,

I'm not sure what you're trying to do, I have noticed that there are no corresponding arguments inside the () in the function Showtask, is this on purpose? You need to be a little clearer about what you are trying to do? Also, you have some case mismatches between the function call and the function:


Function call: Show'T'ask()
function Show't'ask()

One has a lower case 't' in 'task' while the other one has an upper case 'T' in 'Task'. Again not sure if that was a typo here or in your actual code?

Joe






Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to create proper SOAP Header to call a web shashi.prakash Biztalk 5 July 31st, 2013 03:31 AM
Call to function Awkuzu BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 September 19th, 2007 06:13 PM
Call a Function stealthdevil Access VBA 2 November 2nd, 2006 10:38 AM
How to call javascript function from VB function vinod_yadav1919 VB How-To 0 February 13th, 2006 06:03 AM
Unable to call the date from the database nvillare Classic ASP Basics 2 July 10th, 2003 04:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.