无法从php调用JavaScript函数 [英] can't call JavaScript function from php

查看:83
本文介绍了无法从php调用JavaScript函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个php脚本,我称之为JavaScript函数。我不知道为什么,但它不起作用。一开始,当我编写脚本时它正在工作,但现在它不是。我不知道要做什么。请帮我。这是php代码:

A have a php scrip where I call a JavaScript function. I don''t know why, but it doesn''t work. At the beginning, when I was writing the script it was working but now it''s not. I don''t know wхat to do. Please help me. Here is the php code:

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号

推荐答案

请在[code]标签内发布您的代码!没有它们就不可能阅读它。


自代码工作以来你有什么改变?

你得到任何PHP或JavaScript错误吗? br />
你的代码应该做什么?它是如何工作的?
Please post your code inside [code] tags! It''s impossible to read it without them.

What have you changed since the code worked?
Are you getting any PHP or JavaScript errors?
What is your code supposed to be doing? How is it not working?


展开 | 选择 | Wrap | 行号


这里是代码标签中的代码

[PHP]
here is the code in code tags
[PHP]


这篇关于无法从php调用JavaScript函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆