将php变量转换为javascript变量
问题描述:
大家好,
如何将php变量转换为javascript变量。我需要这个,因为我想在html字段的文本框中显示php变量的内容。
关于
Hi all,
How to convert a php variable into the javascript variable. I need this because i want to display the content of php variable in the textbox of html field.
With regards
答
Heya,Kumuda。
您可以在文本框中显示PHP变量,如下所示:
Heya, Kumuda.
You can display a PHP variable in a textbox like this:
展开 | / span> 选择 | 换行 | 行号
大家好,
如何将php变量转换为javascript变量。我需要这个因为我想在html字段的文本框中显示php变量的内容。
关于
Hi all,
How to convert a php variable into the javascript variable. I need this because i want to display the content of php variable in the textbox of html field.
With regards
不需要使用java脚本....试试这个
No need to go with java script....try this
展开 | 选择 | Wrap | 行号
AMT,发布源代码时请使用CODE标签。请在下次发布时查看页面右侧的REPLY GUIDELINES。
AMT, please use CODE tags when posting source code. See the REPLY GUIDELINES on the right side of the page next time you post.