javascript increment index in funciton
- by mcgrailm
I'm just trying to figure out how to create an index inside a function so I can keep track of the items its generating and I'm not sure how to do this seems like I should know this..
addLocation(options,location)
funciton addLocation(options,location){
$('#list').append('<li…