åä¸ãã¡ã¤ã³å ã®Ajaxéä¿¡ã¯åé¡ãªãã§ããã®ã ãã å¥ãã¡ã¤ã³ã¸ã®Ajaxéä¿¡ã¯ã¯ãã¹ãã¡ã¤ã³ã®å¶éã«ã²ã£ãããã§ããªãã£ãã ãªãã¨ãã§ããªããã®ãã¨ãã¡ãã¡ã®ãµã¤ããè¦ãã ãã¹ããããããã¦ããããåºæ¥ãããã«ãªã£ãã®ã§ã¡ã¢ãã¦ãã â ããããã㨠ã¯ã©ã¤ã¢ã³ãããå¥ãã¡ã¤ã³ã®ãµã¼ãã¸POST ãµã¼ãå´ã§å¦çãè¡ããå¦ççµæãè¿ã ã¯ã©ã¤ã¢ã³ãã§ã¯å¦ççµæãåãåã£ã¦è¡¨ç¤ºããã ãµã³ãã«ã¯ï¼ã¤ã®ãã©ã¼ã ã®å¤ã足ãã¦çµæãè¿ãã ãã®ç°¡åãªãã® â ãµã¼ãå´PHP [php] <?php // ã¯ã©ã¤ã¢ã³ãããã®POSTãåãåã $val = $_POST[âvalâ]; $val2 = $_POST[âval2â]; // ä½ããã®å¦çï¼ãµã³ãã«ãªã®ã§å ç®ããã ãï¼ $result = $val + $val2; // ä¸è¨ãã¬ã¹ãã³ã¹ãããã¼ã«å«ãã header("Access-
{{#tags}}- {{label}}
{{/tags}}