// ...checking query... try: good status = 1 // ไม่ว่าง catch: bad status = 0 // ว่าง
// response = data if (data.status == 0) { update_button = 'ว่าง'; } else { update_button = 'ไม่ว่าง'; } update_other_data()
jQuery(document).ready( function(){ jQuery('#content').on('click', 'a.rml_bttn', function(e) { e.preventDefault(); var rml_post_id = jQuery(this).data( 'id' ); var ts = jQuery(this); jQuery.ajax({ url : rml_obj.ajax_url, type : 'post', data : { action : 'read_me_later', security : rml_obj.check_nonce, post_id : rml_post_id }, success : function( response ) { if(ts.html()=="DONE") { ts.html("MARK AS DONE"); } // ts.html()=="DONE" - maybe changed based on response else { ts.html("DONE"); } jQuery('.rml_contents').html(response); } }); //jQuery(this).hide(); }); });
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง