469,277 Members | 1,914 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,277 developers. It's quick & easy.

how to pass value from one java script to another javascript

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2. a = mySplitResult[0];
  3. </script>
  4.  
  5.  
  6. <script type="text/javascript">
  7. function initialize() {
  8. var myLatlng = new google.maps.LatLng();
  9. </script>
here value come in a, then how i pass this' a' as argument second javascript function initialize
Sep 13 '11 #1

✓ answered by Dormilich

as long as both script are at the same page, each (public) variable is accessible.

1 1389
Dormilich
8,651 Expert Mod 8TB
as long as both script are at the same page, each (public) variable is accessible.
Sep 13 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Cantekin Guneser | last post: by
8 posts views Thread by Sergei | last post: by
7 posts views Thread by dbabin | last post: by
8 posts views Thread by dbaplusplus | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.