Jquery / JS question
Jquery / JS question
- Started
- Last post
- 3 Responses
- dee-dubs0
please?? hour on and still banging my head and i know this should be easy(ish)
- ideaist0
dee-dubs,
My limited knowledge requires you to first define the variable:
$helpCount = 1;
and then add into the function:
$helpCount = $helpCount + 1;
It doesn't seem you're defining your initial variable anywhere...Wish I had a precise answer for you bud!
Godspeed!
- dee-dubs0
it was :
$('#helpMessages').after('<p class="MsgTxt">'++data.case1[0]['myText'+helpCount]+'</p>'