技術討論區 > Java程式設計討論區

傳入參數?

(1/1)

sars001x:
   function startRender(){
      if(tabs1.getActiveTab().id=='3'){
         init_mstGrid2(); 
         var params = {action:'mstPostSelect1'}
         (這邊需要輸入一個參數(Purc_no)我該怎麼打?)
         Ext.Ajax.request({
            url:'<%=request.getContextPath()%>/ActionServlet',
            params : params,
            method: 'POST',
            success:function ( result, request ) {
               mstGrid2.store.load({
                  params:{selectfirst:false,start: 0, limit: GRID_PAGESIZE},
                  callback:function(records){
               
                  }
               });

導覽

[0] 文章列表

前往完整版本