Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/455.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何将我的自定义计时器链接到我的asp.net?_Javascript_Asp.net_Html - Fatal编程技术网

Javascript 如何将我的自定义计时器链接到我的asp.net?

Javascript 如何将我的自定义计时器链接到我的asp.net?,javascript,asp.net,html,Javascript,Asp.net,Html,我已经做了一个定制的时间选择器,但是我已经在html页面中做了它 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript"> //here goes my script </sc

我已经做了一个定制的时间选择器,但是我已经在html页面中做了它

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

    <script type="text/javascript">
//here goes my script
 </script>
    <title></title>
</head>
<body>
//here are my form and div's
</body>
</html>

//这是我的剧本
//这是我的表格和部门的

现在我想在我的asp.net页面中使用它,我如何才能做到这一点?

使用asp.net用户控件而不是html页面。

您可以通过以下方式在页面中包括:

我不想删除任何服务器控件,我只想将自定义的*.js文件及其html链接到我的asp.net页面。您可以使用JQuery append将html插入页面: