我希望把这段文字输入不是段落标记p
我尝试,但我不能让它追加到文本输入
我追加码
$(req.responseText).find('GetRecipeDetailResponse').each(function(){//Get the servings/yield
var yield = $(this).find('Yield').text();
$('#Yield').append('<p><h6>Servings: ' + yield + " servings"+ '</h6></p>')
$('#Yield').fieldcontain('refresh')
});
HTML代码:
<div data-role="fieldcontain" id="Yield"><!--Yield-->
</div>
请解释*不是p ..我试试* – hjpotter92 2013-04-30 05:44:53
对不起,错别字错误 – 2013-04-30 05:48:07