看板 [ Ajax ]
討論串[問題]呼叫兩個不同網頁中的function
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者fillano (冒牌費大公)時間16年前 (2009/02/23 10:22), 編輯資訊
0
0
0
內容預覽:
用iframe試作如下:. A.php內容:. <html>. <body>. <iframe src="B.php" id="target" name="target". style="display:none"></iframe>. <script>. function go(){. try {
(還有237個字)

推噓4(4推 0噓 3→)留言7則,0人參與, 最新作者bobju (寶貝豬)時間16年前 (2009/02/20 23:57), 編輯資訊
0
0
0
內容預覽:
將架構調整成:. A.php B.php. | |. include include. | |. +--+-----+. |. v. funclib.inc. function go() 及 function show() 則定義在 funclib.inc當中.. funclib.inc 命名為 f

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者CoMix (CoMix)時間16年前 (2009/02/20 14:49), 編輯資訊
0
0
0
內容預覽:
我有兩個網頁. A.php B.php. │ │. └ function go(); └ function show();. 我想從 A.php function go(); 中去呼叫使用 B.php function show();. 請問這樣是可以實現的嘛 ~ 應該怎麼寫才可以達到我要的目的.
首頁
上一頁
1
下一頁
尾頁