<a class="replace" params="1">Replace</a>
<div id="replace" class="ui-dialog-content ui-widget-content">
<form action="/v5/files/doc" enctype="multipart/form-data" class="form-horizontal" role="form" id="FileDocForm" method="post" accept-charset="utf-8">
<div class="input file">
<label for="FileFile">New File</label><input type="file" name="data[File][file]" id="FileFile">
</div>
</form>
</div>
<script type="text/javascript">
$(document).ready(function () {
var files;
$('.replace').click(function(){
$('#replace').data('params',$(this).attr('params')).dialog('open');
});
$('#replace').dialog({
modal : true,
autoOpen : false,
autoResize : true,
width : 'auto',
height : 'auto',
buttons : {
'Submit' : function (){
var data = new FormData($('#replace form')[0]);
$.ajax({
type : 'POST',
data:data,
processData:false,
contentType: false,
url :'replaceDoc/'+$('#replace').data('params'),
success : function(data){
location.reload();
}
});
},
'Cancel' : function (){
$(this).dialog('close');
}
}
});
});
</script>
Wednesday, October 15, 2014
Jquery Submit File via dialog
Wednesday, September 24, 2014
蒜头盆栽
栽種前:
剝開蒜球的外膜,將大蒜一粒粒取出,放进冰柜一,两星期,会发根。
16/09/2004
挑出生根的,排在泥土上。
18/09/2004
蒜苗长出了!!
网上抄来的tips:
苗长至5-6CM,就需要每 7-8 天施氮肥一次。
可以用2种方法收割来吃:
1是离根部(从土壤表面算起)7-8cm左右剪除食用,类似剪葱,剩下的茎部抽出新叶生长。
2 是把整棵大蒜拔起来连茎部都食用,
这些方式是拿来种出大蒜的,在马来西亚应该不行,太热了,所以没全跟
Tuesday, March 18, 2014
Maybank - It’s Raining Money Campaign
- Campaign period: 13 Mar 2014 till 15 Jun 2014
- Open to Principal Cardmembers of Credit/ Charge Card(s) issued by Maybank
- SMS MONEY
Principal Card Number without spacing and send to 66628 Prize Category Cash Rebate Number of Winners Hourly Prize RM100 1 winner every hour from 10:00 am until 10:00pm daily Monthly Prize RM100,000 1 winner from every month:
- 13 Mar – 15 Apr 2014
- 16 Apr – 15 May 2014
- 16 May – 15 Jun 2014
- The Hourly Prize Winners selected by randomizer programme shall be final and binding.
- TheMonthly Prize Winners will be contacted by Maybank’s representatives at any time during office hours to answer 1 question.
- Eligible Cardmember may win the Hourly Prize and Monthly Prize more than once.
- Prize will be rewarded in a form of cash back and credited to accounts and reflected on credit card statement that follows the date of cash back crediting.
- Details: here
Thursday, March 13, 2014
Maybank American Express - Get cash back for online payments & purchases
- Campaign period: 5 Mar 2014 till 31 May 2014
- Open to Principal Cardmembers of American Express Credit/ Charge Card(s) issued by Maybank
- Eligible Cardmember will be entitled to 1 entry for every RM300 cumulative Qualifying Spend on the following websites:
- bill/ assessment fee payments on Maybank, www.maybank.com.my
- online purchases transacted on Groupon Malaysia, www.groupon.my
- online purchases transacted on Malindo Air, www.malindoair.com
- Only 2000 winners under this campaign.
- Cash Back will be credited into Winners’ American Express Card within eight (8) weeks from the end of the Campaign Period. Announcement of Winners will also be made on the Maybank website at www.maybank.com.my and American Express Malaysia website at www.americanexpress.com.my. In the event the Winner does not receive the Cash Back, it is the Winner’s responsibility to notify Maybank in writing not later than 15 August 2014.
- Details: here
Tuesday, March 11, 2014
食物时间表
| 早上 | 空腹 | 餐后 | 睡前 | 注解 | |
|---|---|---|---|---|---|
| 香蕉 |
| ||||
| 蜂蜜水 |
| ||||
| 牛奶 |
| ||||
| 酸奶 |
| ||||
| 醋 |
|
Subscribe to:
Posts (Atom)

