i have following js code:
var qptarget = $('#qp div.jqmdMSG'); ("#qpForm").validate(); $("#qp").jqm({ trigger:'a.qpTrigger', ajax:'@href', modal:true, overlay:80, target: qptarget, toTop:true, onShow: function(h){ h.w.css('opacity',0.88).show(); }, onLoad: function(h){ $("#saveqp",h.w).click(function(e){ $.blockUI({ message: "<h1>Please wait...</h1>" }); $.ajax({ url: './saveqp.do?dispatch=save', type:'POST', datatype:'json', success:function(json){ }, complete: function(json){ $.unblockUI(); $(h.w).jqmHide(); window.location.href = "./refreshSurvey.a2q? dispatch=refresh"; }, error: function (error) { alert("error:" + error); } }); return false; }); } }); On Dec 17, 12:25 am, "Jörn Zaefferer" <joern.zaeffe...@googlemail.com> wrote: > Could you provide a testpage? > > Jörn > > > > On Wed, Dec 17, 2008 at 2:30 AM, Bhavin <bhavin.sangh...@gmail.com> wrote: > > > Hi, > > > I am trying to implement validate plugin in jqModal. I tried validate > > () method in onshow, onload method but it is not working. Can anyone > > confirm whether it is supporting? > > > I tried blockui plugin to show "Please wait..." message on jqmodal > > when form is submitted but its not working properly...Is this the > > correct approach to show the message ? > > > Thanks, > > Bhavin- Hide quoted text - > > - Show quoted text -