Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
04-08-2009, 05:46 PM #1
- Join Date
- Jul 2004
- Thanked 0 Times in 0 Posts
Can somebody explain why the ALERT doesn't work here
I am having to extract a subset array from my main array to enable me to get the index position.
This code works in setting up the subset array:
I have taken out the document.write and replaced it with the alert, but after the "}" as above.
The alert does not happen.
I want to then add this to find the element inthe array :
drire_index=john.indexOf("CENTRE - Loir-et-Cher(41)"); alert(drire_index);
The problem is that this won't alert either.
Is there a problem in my function causing the alerts not to happen