I have :
$("#result").html('your choice: '+state);
Which returns : your choice: Queensland
I can do this:
$("#result").html('your choice: '+state +result);
Which returns : your choice: QueenslandBrisbane
What I want to do is add Spacing between ( and span classes to either of the elements so I get )
your choice: Queensland > Brisbane
With something like < span class=”strongblue”>Queensland< /span> etc
Issue I seem to be having is adding the > between +state and +result.
Cheers
1 Answer