172
rated 0 times
[
176]
[
4]
/ answers: 1 / hits: 21373
/ 11 Years ago, thu, july 25, 2013, 12:00:00
Java Script Code:
<script type=text/javascript>
$(function () {
var seatNo = 2;
str.push('<a title=' + seatNo + '>' + '<?php echo $thisPacket[seat]; ?>'</a>');
});
</script>
I want to concatenate between $thisPacket[seat]
with java Script variable seatNo.
Just like php concate. example: $i = 1; $thisPacket[seat.$i]
;
More From » php