Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > HTML > JavaScript
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 08-29-2007, 05:24 PM   #1
justravis
Newcomer
 
justravis's Avatar
 
Join Date: Aug 2007
Posts: 2
justravis is on a distinguished road
Smile Javascript: return not in function?

i'm getting a "return not in function" error on the return for chkEach()

does anybody know the general cause of this error because it keeps coming up?

Thanks for yr time!

Code:
//TP chkEach(FeildIDs,funct) { var arrFeilds = new Array(); arrFeilds=document.getElementById(FeildIDs); var arrErr= new Array(); for(var i=0; i<arrFeilds.length; i++) { arrErr.push(funct(arrFeilds[i])); } return arrErr; }
justravis is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 09-07-2007, 12:23 PM   #2
thegeek
Junior Member
 
thegeek's Avatar
 
Join Date: Sep 2007
Posts: 54
thegeek will become famous soon enough
Default Re: Javascript: return not in function?

Try

function chkEach(FeildIDs,funct)
{
.....
}
__________________
thegeek
http://www.fishinggeek.net
thegeek is offline  
Old 09-07-2007, 04:20 PM   #3
justravis
Newcomer
 
justravis's Avatar
 
Join Date: Aug 2007
Posts: 2
justravis is on a distinguished road
Default Re: Javascript: return not in function?

thank u..that was the problem
justravis is offline  
Old 09-17-2007, 01:16 PM   #4
Tudor.b
Newcomer
 
Tudor.b's Avatar
 
Join Date: Sep 2007
Location: Bucharest, Romania
Posts: 8
Tudor.b is on a distinguished road
Default Re: Javascript: return not in function?

This is what I call a "not enough coffeine" mistake
Tudor.b is offline  
Old 10-02-2007, 04:48 PM   #5
proger86
Newcomer
 
proger86's Avatar
 
Join Date: Oct 2007
Posts: 1
proger86 is on a distinguished road
Default Re: Javascript: return not in function?

заходите на мой сайт http://101page.70mb.ru
proger86 is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VelHost - Free Web Hosting(300MB+/30GB+) mail function active! velhost Web Hosting 4 06-19-2007 09:16 AM
The Return dlrogersnfl General Talk 0 06-12-2007 01:28 AM
Javascript giantcomet4 Programming 3 01-30-2007 01:49 PM
The point of no return!!!!! UnKnown General Talk 3 01-27-2007 09:29 AM
Tackle this problem...Function jumpenjuhosaphat PHP 8 07-18-2006 07:33 PM


All times are GMT. The time now is 10:44 PM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.