magical
10-07-2003, 11:27 AM
Hi everyone,
I need to insert a few java strings into javascript array.
Thanks
I need to insert a few java strings into javascript array.
Thanks
|
Click to See Complete Forum and Search --> : converting Java String or Array into Javascript magical 10-07-2003, 11:27 AM Hi everyone, I need to insert a few java strings into javascript array. Thanks Khalid Ali 10-07-2003, 11:30 AM your question is as vague as it can be. Do you want this to happen in a servlet?? In a jsp page? In an applet? where and how are you trying to do it? magical 10-07-2003, 09:55 PM I'm trying to do in an jsp page. Trying to insert a few strings in java, and insert it into javascrip array. Khalid Ali 10-07-2003, 10:04 PM from a jsp page to assign a string to a javascript variable <script type="text/javascript"> var jsVariable = "<%=JavaStringVariable;%>"; </script> You must remember that this is a one way process,you can not do the same from JavaScript to Java unless you submit a form using HTTP request. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |