我更新了jquery所以我可以使用新的jquery mobile ui 1.3并且由于某种原因我的表单不再更新页面,它以前工作但它不是通过ajax,它只是提交没有ajax的表单,我会喜欢ajax只是获取新数据并将其附加到div而不是在弹出窗口关闭时再次重新加载整个页面.
我为表单使用弹出模块,在提交时它应该将新信息附加到 #content ul
JS.
<!-- Load Json data and events -->
<script type="text/javascript">
jQuery('#new_rave').live('submit',function( event ) {
$.ajax({
url: 'http://whoops/goodtimes',
type: 'POST',
dataType: 'json',
data: $('#new_rave').serialize(),
success: function( data ) {
for( var id in data ) {
jQuery('#').html(data[id]);
}
}
});
return false;
});
$(document).ready(function() {
$.getJSON('http://whoops/goodtimes', function( goodtimes ) {
$.each(goodtimes, function( goodtime ) {
var output =
"<li><a href="+this.goodtime.id+">" +
"<h3>" + this.goodtime.title + "</h3>" +
"<p>" + this.goodtime.post + "</p>" +
"<p …
Run Code Online (Sandbox Code Playgroud) 每当我尝试发送我的应用程序进行审核时,我收到错误,似乎是说我的应用程序的ios7图标有无效路径,但图标在模拟器和开发设备上工作.它还声明它无法验证包.
我试图更新info.plist文件中的路径,但问题仍然存在.
Package Summary:
1 package(s) were not uploaded because they had problems:
/var/folders/x3/4cy637515hs8ct3096ssqg_r0000gn/T/725271208.itmsp - Error Messages:
Apple's web service operation was not successful
Unable to authenticate the package: 725271208.itmsp
ERROR ITMS-9000: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons': 'Icon@152'" at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
ERROR ITMS-9000: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons': 'Icon@76'" at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
ERROR ITMS-9000: "Invalid Image Path - No image found at …
Run Code Online (Sandbox Code Playgroud)