如何在错误消息显示的ajax代码中包含这些Array
(
[0] => Array
(
[0] => I am the second string
[1] => Array
(
[0] => Array
(
[0] => cps
[1] => 1
[2] => 1
)
[1] => Array
(
[0] => Hz
[1] => 1
[2] => 3
)
[2] => Array
(
[0] => hertz
[1] => 1
[2] => 1
)
)
)
[1] => Array
(
[0] => I am the third string.
[1] => Array
(
[0] => Array
(
[0] => uucps
[1] => 1
[2] => 1
)
[1] => Array
(
[0] => uuHz
[1] => 1
[2] => 2
)
[2] => Array
(
[0] => uuhertz
[1] => 1
[2] => 1
)
)
)
[2] => Array
(
[0] => I am the first string.
[1] => Array
(
[0] => Array
(
[0] => round
[1] => 1
[2] => 1
)
[1] => Array
(
[0] => rhythm
[1] => 1
[2] => 1
)
)
)
)
?因为我在我的网页中有文本,但我希望它是一个警报,并专注于输入ID,如一个JavaScript。我怎么在这里做?
alert('Please input your firstname.'); document.getElementById ("firstname").focus();