Ajaxéä¿¡ããéãèªåã®ãµã¤ãå ã®ãã¡ã¤ã«ã¸ã¢ã¯ã»ã¹ãããã¨ãå¤ãã¨æãã¾ãããéããã¡ã¤ã³ããããã¡ã¤ã«ãèªã¿è¾¼ã¿ããæãããã¨æãã¾ãã ããã§åé¡ã¨ãªã£ã¦ããã®ãããã©ã¦ã¶ã«å®è£ ããã¦ããã¯ãã¹ãã¡ã¤ã³å¶ç´ã§ãã ã¯ãã¹ãã¡ã¤ã³å¶ç´ã¨ã¯ããã©ã¦ã¶ã®æ©è½ã§ãé²è¦§ãã¦ãããã¼ã¸ã®ãã¡ã¤ã³ä»¥å¤ã®ãã¡ã¤ã³ããã¯Ajaxéä¿¡ããããªãã¨ããæ©è½ã§ãã ã¯ãã¹ãã¡ã¤ã³å¶ç´ãè¿åããã«ã¯3éãã®æ¹æ³ãããã¾ãã Access-Control-Allow-Originãè¨å®ããAccess-Control-Allow-Originãè¨å®ããã«ã¯ãµã¼ãã¼ãµã¤ãã§ã®è¨å®ãå¿ è¦ã§ãã èªã¿è¾¼ã¿ãããã¡ã¤ã«ãç½®ãã¦ãããµã¼ãã¼ãèªåã§ç®¡çãã¦ããå ´åã¯ã.htaccessãPHPãªã©ã®ããã°ã©ã ãªã©ã§CORSï¼ã¯ãã¹ãªãªã¸ã³ãªã½ã¼ã¹ã·ã§ã¢ãªã³ã°ãCross-Origin Resource Sharingï¼
{{#tags}}- {{label}}
{{/tags}}