jsp¶¯Ì¬ºÏ²¢ÐУ¬ÐµÄÒ»¸öСÎÊÌâ - Java / Web ¿ª·¢
¾ÍÊÇÈç¹û Ôںϲ¢ÐÐÀïÒѾĬÈÏÓÐÖµµÄ»°£¬ÎÒÔÚÎı¾¿òÖÐÊäÈëµÄʱºòÈçºÎÏà¼Ó¡£ÏÖÔÚµÄЧ¹ûÊÇ£¬Ôںϲ¢ÐÐÖÐĬÈÏΪ0 µÄʱºòÏà¼ÓÊÇÕý³£µÄ¡£
<html>
<head>
</head>
<script>
function countme(obj,div_id,pre_id){
if(obj.value!=''){
//ǰһ¸öÖµ
var preval = document.getElementById(pre_id).value;
//µ±Ç°divÖµ
var t = document.getElementById(div_id+'_value').value;
//ÏÔʾ
document.getElementById(div_id).innerHTML = parseInt(t) + parseInt(obj.value) - parseInt(preval);
//¸³Ç°Ò»¸öÖµ
document.getElementById(pre_id).value = obj.value;
//¸³µ±Ç°divÖµ
document.getElementById(div_id+'_value').value = parseInt(t) + parseInt(obj.value) - parseInt(preval);
}
}
</script>
<body>
<form>
<table colspan="1" border="1">
<tr>
<td>id1aaa</td>
<td>id2aaa</td>
<td>textaaa</td>
<td>totalaaa</td>
</tr>
<tr>
<td>id1</td>
<td>id2</td>
<td><input type="hidden" id="pre_id1_id2_text1_value" value="0"/><input type="text" on
Ïà¹ØÎÊ´ð£º
ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
%>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......
¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£
´Ê¿âÔõôÉú³ÉÄØ£¿
²»»á¡£
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä
ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ
ÓÃmap ¼üÖµ¶ÔÓ¦
Èç¹ûÓÃÊý¾Ý¿ ......
ʹÓÃjavaÔÚwindows7 32λÏÂÁ¬½ÓMSSQL¡£
Á½Ì¨»úÆ÷£¬windows7 32룬ÔÚ¿ØÖÆÃæ°åÀïÃæÈ«²¿ÉèÖÃÓïÑÔºÍÇøÓòÑ¡Ïî¶¼english-unitedstates
Î¨Ò»Çø±ðÖ»ÓÐÔÚ°²×°SQL server 2008µÄʱºò Ñ¡ÔñµÄ×Ö·û¼¯²»Ò»Ñù£¬
exec sp_helpsor ......
ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾÌá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......
ÓÃStruts2+Spring+Hibernate×öµÄÒ»¸öwebµÄERPСÏîÄ¿£¬×ܲ¿Ò»Ì¨·þÎñÆ÷£¨Êý¾Ý¿âÓëWeb·þÎñÆ÷ÔÚͬһ»ú×ÓÉÏ£©Êǵ¥¶À²¦ºÅÉÏÍøµÄ£¬Óë·Ö¹«Ë¾Ã»ÓÐÓþÖÓòÍøÏߣ¬Ó²¼þÌ«¹óÁË£¬ÆäËû¼¸¸öÊ¡Êзֹ«Ë¾¶¼À´·ÃÎÊÕâÒ»·þÎñÆ÷£¬¸Ð¾õºǫ́´ú ......