使用 jquery 提交表单后,Jquery 不发送帖子链接
Jquery not send post link after submit form using jquery?
你好朋友们,这是我的代码,代码正在工作,表格提交,然后在帖子链接未发送后,请帮助。
$(function(){
$("#pitch_image_path_browseiser").live("change",function(){
$("#pitch_image_path_form").attr("id","pitch_image_path_formliveset");
$("#pitch_image_path_formliveset")[0].submit(function(event){
event.stopPropagation();
event.preventDefault();
alert("call");
$.post("submit_investorform.php",{'flage':'getallimagesfromselectedid','form':'pitch_image_path_form'},function(result){
$("#pitch_image_path_showalldatafromid").html(result);
});
});
});
});
谢谢
亲爱的摇发者,请尝试此代码。 这对我完全有帮助。
$("#pitch_image_path_browseiser").live("change",function(){
$("#pitch_image_path_form").ajaxSubmit({ success: function(){
$.post("submit_investorform.php",{'flage':'getallimagesfromselectedid','form':'pitch_image_path_form'},function(result){
$("#pitch_image_path_showalldatafromid").html(result);
});
} });
});
请检查此链接这是教程。
http://malsup.com/jquery/form/
相关文章:
- 如何使用jQuery自动打开页面上的所有链接
- 如何在不链接/jquery的情况下使用方法应用css属性数组
- 干净地链接 jQuery ajax 请求
- 在coffeescript中链接jquery方法和参数
- 如何正确链接JQuery并使用.getJSON
- 链接jQuery中的两个元素
- 滚动到活动链接 jQuery
- 如果链接少于 1 个,则计数和隐藏链接.Jquery.
- 获取链接 href 并将其应用于另一个链接 jQuery
- jQuery-检查复选框值(链接jQuery函数与If Statment)
- 在具有固定链尾调用的循环中链接jquery.when().then()
- 更改链接jquery的href
- 使word in变成一个链接jQuery
- 如何在飞行中用文本创建链接?——JQuery初学者
- 检测文本中的超链接- jQuery
- 我如何从现有的第三方控件链接jQuery事件
- 链接JQuery命令
- 如何在点击链接Jquery/JS时将动态内容添加到引导模式中
- 切换单击链接jquery时不关闭
- 如何知道点击了哪个链接[jQuery]