$('#form_holder').append('<div id="spec_id_'+count+'"><div class="avail_container">
<input class="avail_fields" type="checkbox" checked="checked" name="special'+count+'" /><span class="avail_field_label">Special Date</span></div>
<div class="avail_container"><div class="avail_time_container"><span class="field_label">Time</span>
<select name="special'+count+'_time_from_1">
<?php
for ($t = 0; $t<24; $t++){
?>
<option value="<?php echo $t; ?>"><?php echo $t; ?></option>
<?php
}
?>
</select>:
<select name="special'+count+'_time_from_2">
<?php
for ($t = 0; $t<60; $t+=15){
?>
<option value="<?php if($t == 0){ echo $t . '' . $t; }else{ echo $t; } ?>"><?php if($t == 0){ echo $t . '' . $t; }else{ echo $t; } ?></option>
<?php
}
?>
</select>
<span class="field_label">to</span>
<select name="special'+count+'_time_to_1">
<?php
for ($t = 0; $t<24; $t++){
?>
<option value="<?php echo $t; ?>"><?php echo $t; ?></option>
<?php
}
?>
</select>:
<select name="special'+count+'_time_to_2">
<?php
for ($t = 0; $t<60; $t+=15){
?>
<option value="<?php if($t == 0){ echo $t . '' . $t; }else{ echo $t; } ?>"><?php if($t == 0){ echo $t . '' . $t; }else{ echo $t; } ?></option>
<?php
}
?>
</select>
</div>
</div>
</div>');
Ben javascript varsayarak kulüpler veya tüm javascript kodu çalışmaz çünkü burada var gibi jquery sonları sevmez.
Ne zordur kodunu inceleyen kılacak, tüm boşlukları ortadan kaldırarak bir alternatif olacaktır?