I am trying to display value.
The code below displays value but it uses alert to show value.
But I need to show value in a textbox. Anyone there to help me???
$('#show').click(function() {
var $cars = '';
$('#selected_cars .innertxt2').each(function() {
var $car_value = $(this).attr('carvalue');
if ($cars == '')
$cars += $car_valu;
else
$cars += ',' + $car_valu;
});
alert($cars);
});