|
Salam semua,
Minta tolong sesiapa yang tahu macammana nak buka MS Outlook bila kita klik button.
Kiranya fungsinya sama macam <a href= mailto:[email protected]></a> la...
Pad taknak guna hyperlink, nak guna button..
Thanks. |
|
|
|
|
|
|
ajakblackgoat This user has been deleted
|
|
|
|
|
|
|
|
Dah dapat penyelesaiannya...
Rupanya kena masukkan ini kat <HEAD></HEAD>
<script type="text/javascript"><!--
function popupMessage() {
// SET MESSAGE VALUES
var to = "[email protected]";
var cc = "[email protected]";
var bcc = "[email protected]";
var subject = "Subject hete";
var body = "Message here...";
var doc = "mailto:" + to +
"?cc=" + cc +
"&bcc=" + bcc +
"&subject=" + escape(subject) +
"&body=" + escape(body);
window.location = doc;
}
// --></script>
dan ini kat <BODY></BODY>
<FORM><INPUT TYPE="button" NAME="Test" Value="Test mailto: URL" ></FORM>
kredit to encik google dan pakcik jim...:bgrin: |
|
|
|
|
|
|
|
Originally posted by ajakblackgoat at 23-1-2007 03:16 PM
<input type="button" value="Email" >
Yg ni pun OK, terima kasih.. |
|
|
|
|
|
|
|
Macamana kita nak bawa satu value ke page lain melalui text box, contohnya username dalam text box dan kita tekan button submit. Katalah nama text box tu txtUSername. Dalam btnSend_Click kita buat:
Response.Redirect("sistem.aspx")
Macam mana nilai/value daripada text box tu kita nak simpan dalam web form sistem.aspx. Kalau query string reti le nak bawa nilai, tapi daripada textbox?
TQ ya... |
|
|
|
|
|
|
| |
|