วันนี้ติดตั้งโปรแกรมบนเครื่อง Notebook Acer ASPIRE เลยนำวิธีการ Boot ผ่าน CDRom มาบอกกันครับ
1. Boot เครื่อง กดปุ่ม F2 หนึ่งครั้งจะเข้า BIOS
2. ไปที่ Main--> เปลี่ยน F12 Boot Menu = Enable
3. ไปที่ Boot--> เปลียน Boot Mode = Legacy
(F6 to Move Up,F5 to Move down,F10-->Save--Yes)
หากใช้แผ่น Windows 7 จะสามารถ Format ได้ง่ายดีครับจะเป็น Hiren รุ่นก่อนๆ จะมองไม่เห็น Harddisk
พีเอ็ม คอม แหล่งรวบรวมสาระความรู้ แบ่งปัน และน้ำใจ ในการให้ความรู้ทางด้านคอมพิวเตอร์ อยากรู้อะไรเข้ามาสอบถามได้เลย โปรแกรมฟรี Open Source และอื่น ๆ อีกมากมาย
30 ธันวาคม 2557
25 ธันวาคม 2557
เมื่อ variable ที่ส่งเข้ามาไม่ทำงานใน java
เมื่อ variable ที่ส่งเข้ามาไม่ทำงานใน ajx,java
สคริปที่อาจไม่ทำงาน
function myFunction(Value1)
{
if (Value1==1) {
alert('WORK');
}
else
{
alert('NOT WORK');
}
}
ให้ส่งค่ามายังตัวแปลก่อน ดังนี้
function myFunction(Value1)
{
dim $myval=Value1;
if ($myval==1) {
alert('WORK');
}
else
{
alert('NOT WORK');
}
}
24 ธันวาคม 2557
เปลี่ยนปุ่ม HTML เดิมๆเป็นปุ่มที่มีรูปภาพสวยๆ
ตัวอย่าง
Source Code
<button class="btn btn-success" id="submit" name="submit" nbsp="">ส่งจดหมาย <img src="http://img1.blogblog.com/img/icon18_email.gif" height="25" /></button>
Source Code
<button class="btn btn-success" id="submit" name="submit" nbsp="">ส่งจดหมาย <img src="http://img1.blogblog.com/img/icon18_email.gif" height="25" /></button>
23 ธันวาคม 2557
Text Array With Add and Insert (AJX)
ที่มา
Thank: http://www.sanwebe.com/2013/03/addremove-input-fields-dynamically-with-jquery
ผมขอเปลี่ยนแปลงนิดหน่อย
คือเปี่ยนจาก button เป็น a tag แทน ครับ เพราะ button เอาไว้ใช้ส่งค่าครับ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Adding Input Fields On The Fly</title>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">google.load("jquery", "1");</script>
</head>
<body>
<script type="text/javascript">
$(document).ready(function() {
var max_fields = 10; //maximum input boxes allowed
var wrapper = $(".input_fields_wrap"); //Fields wrapper
var add_button = $(".add_field_button"); //Add button ID
var x = 1; //initlal text box count
$(add_button).click(function(e){ //on add input button click
e.preventDefault();
if(x < max_fields){ //max input box allowed
x++; //text box increment
$(wrapper).append('<div><input type="text" name="mytext[]"/><a href="#" class="remove_field">Remove</a></div>'); //add input box
}
});
$(wrapper).on("click",".remove_field", function(e){ //user click on remove text
e.preventDefault(); $(this).parent('div').remove(); x--;
})
});
</script>
<form action="" method="POST">
<div class="input_fields_wrap">
<a class="add_field_button" href="">Add More Fields</a>
<div><input type="text" name="mytext[]"></div>
</div>
<input type="submit" value="Submit"/>
</form>
<?PHP
for($i=0;$i<=count($_POST['mytext'])-1;$i++)
{
echo $_POST['mytext'][$i].'<br/>';
}
?>
</body>
</html>
Thank: http://www.sanwebe.com/2013/03/addremove-input-fields-dynamically-with-jquery
ผมขอเปลี่ยนแปลงนิดหน่อย
คือเปี่ยนจาก button เป็น a tag แทน ครับ เพราะ button เอาไว้ใช้ส่งค่าครับ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Adding Input Fields On The Fly</title>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">google.load("jquery", "1");</script>
</head>
<body>
<script type="text/javascript">
$(document).ready(function() {
var max_fields = 10; //maximum input boxes allowed
var wrapper = $(".input_fields_wrap"); //Fields wrapper
var add_button = $(".add_field_button"); //Add button ID
var x = 1; //initlal text box count
$(add_button).click(function(e){ //on add input button click
e.preventDefault();
if(x < max_fields){ //max input box allowed
x++; //text box increment
$(wrapper).append('<div><input type="text" name="mytext[]"/><a href="#" class="remove_field">Remove</a></div>'); //add input box
}
});
$(wrapper).on("click",".remove_field", function(e){ //user click on remove text
e.preventDefault(); $(this).parent('div').remove(); x--;
})
});
</script>
<form action="" method="POST">
<div class="input_fields_wrap">
<a class="add_field_button" href="">Add More Fields</a>
<div><input type="text" name="mytext[]"></div>
</div>
<input type="submit" value="Submit"/>
</form>
<?PHP
for($i=0;$i<=count($_POST['mytext'])-1;$i++)
{
echo $_POST['mytext'][$i].'<br/>';
}
?>
</body>
</html>
07 ธันวาคม 2557
จัดการกับปุ่ม Sleep เจ้าปัญหา (Windows 7)
ปุ่ม Sleep ที่คีย์บอร์ดรุ่นที่ผมใช้อยู่ดันใกล้กับปุ่มเปลี่ยนภาษา กดทีผิดทีเครื่องจอดำเลย
วันนี้จัดกมากับปุ่มนี้กัน
1. ก่อนอื่นกด Start >พิมพ์ข้อความค้นหาว่า Power Options
2. คลิกที่ Choose what thw power buttons do มุมซ้ายมือ
วันนี้จัดกมากับปุ่มนี้กัน
1. ก่อนอื่นกด Start >พิมพ์ข้อความค้นหาว่า Power Options
2. คลิกที่ Choose what thw power buttons do มุมซ้ายมือ
3. คลิกที่ When i Press the sleep button เปลี่ยนจาก sleep เป็น Do nothing
แล้ว Save Changes
สมัครสมาชิก:
บทความ (Atom)

