Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 31st, 2005, 10:27 PM
lch lch is offline
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to pass an array in jsp to other js?

i have 2 files: jsp and js

i want pass an array which in the jsp to another file--> which is a js file

how can i do it ??

can u give me some related link or some source codes as the references???

thx

Reply With Quote
  #2 (permalink)  
Old February 1st, 2005, 04:13 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

This thread discusses this, it's with ASP rather than JSP but the principle is the same. If this is not what you need please define your requirements more clearly.

http://p2p.wrox.com/topic.asp?TOPIC_ID=11765

--

Joe (Microsoft MVP - XML)
Reply With Quote
  #3 (permalink)  
Old February 1st, 2005, 10:05 PM
lch lch is offline
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thx for ur helping !!!!

http://p2p.wrox.com/topic.asp?TOPIC_ID=25863

will be more clearly for the my topic

my problem still not settle yet !!!

therefore i hope you can give me some advices formy case
thx!!!!


Reply With Quote
  #4 (permalink)  
Old February 1st, 2005, 11:11 PM
lch lch is offline
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dear joefawcett,

ur link is related to the javascript in the jsp !!!

now , my problem is : i have 2 file : jsp and js

i want pass an array from jsp to a separate file: js

and keep the array in the js !!!!

so ...i am troubled by this problem for 7 days!!!!

i hope someone can give me some advices!!!
http://p2p.wrox.com/topic.asp?TOPIC_ID=25863

is the more clearly one !!!!

my email:lauchunhui@hotmail.com


Reply With Quote
  #5 (permalink)  
Old April 17th, 2006, 09:02 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How to pass array from .jsp filr to .js file?

Reply With Quote
  #6 (permalink)  
Old April 18th, 2006, 06:56 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii Manoj22!!
Plz visit the link http://p2p.wrox.com/topic.asp?TOPIC_ID=25863
this can help you to sort out the solution.
Idea is same ,i have worked on it and it's working fine while swaping variable'value ,array in jsp/asp/php to js and vice versa.


Cheers :)

vinod
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
using js to pass selected checkbox values yasinirshad .NET Framework 1.x 0 June 3rd, 2008 02:42 AM
Not able to pass array as an argument to Let Prope Kapil Access VBA 1 January 30th, 2007 09:30 AM
intersecting array values ASP/VB or even js sniffer Classic ASP Professional 0 October 19th, 2005 06:04 PM
passing parameter from js to another jsp page. Regornil JSP Basics 1 August 31st, 2004 08:23 AM
how to pass address of an array to a dll(in c++) iceman1188 General .NET 0 May 30th, 2004 09:19 PM



All times are GMT -4. The time now is 12:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.