<script>$(function(){$('#to' + i + '').dependentSelects({separator: ' || ',placeholderOption: '-- Please Select --'});})</script>
$('<select name="location_to" id="to' + i + '" class="text_add" ><option>-- Please Select --</option><option value="Other">-- Other --</option></select>').fadeIn('slow').appendTo('._to_price');
$('a.trigger').click(function() {
var $select = $('<select>');
$select.attr({
name: 'location_to',
id: "to' + i + i'",
class: 'text_add'
});
$('<option>').text('-- Please Select --').appendTo($select);
$('<option>').text('-- Other --').appendTo($select);
$select
.appendTo('._to_price')
.fadeIn('slow')
.dependentSelects({ separator: ' || ', placeholderOption: '-- Please Select --' });
});