|
-
That web bloke
Help with Arrays
MyArray=new Array('Mary,Had a lamb','Humpty,He fell down')
is typical of how an array would look (for example in Brett's namesearch example)
Could someone help me with the correct syntax if you want to replace the values in an array with variables so that by using
var name1 =txt1var
I can include name1 in the array and have it changed dynamically.
I realise that for each item in the array I will have to set up a separate variable.
Thanks in anticipation guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|