
07-15-2007
|
| Senior Member
Join Date: Jun 2007
Posts: 1,413
BRL$: 4,217.66 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 172 | | How can I pass an array to javascript function? Here is the situation:Code:---------var prefix = new Array();prefix['type'] = 'label';prefix['text'] = 'more';---------I'm trying to pass an array into a function, which is called when the user clicks on the button but this does not seem to work. Any suggestion is really appreciated.Thanks all. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. | | | |