In my coding I have the following lines:
Now I want to give each href a unique name with the index variable.
So it should look like
Problem is that it just displays the word 'index', and I don't know how to escape it, so that it displays the value of index.
Who can help me out?
Code:
for (index = 0; index < slidesNumber; index++) { $('<a href="#"></a>') }
So it should look like
Code:
$('<a href="#index"></a>')
Who can help me out?