に私は、文字列としてPHPにjqueryのAJAX要求からの結果を得る:ターンAJAX成功データ列変数
"&userid:15&first_name:john&name:smith"
How can I break this string into 3 variables with their value:
userid=15;//or whatever value is returned by php
fist_name= "john";
name = "smith"
Thank you for your help.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split(代わりにJSONデータを返すほうが意味があります) – David
ありがとうございます。私は今、ajaxでjsonを使用する方法を学ぶ必要があります – fredericmarcel