推奨:同じスペースで複数のドメイン名の処理を実装する方法これらの2つのドメイン名を例に取ります:http://www.knowsky.com/http://code.knowsky.com/2つのドメイン名は同じスペースにバインドされていますが、異なるディレクトリにジャンプします。それらはIIS設定では実装されていませんが、ASPコードのほんの一部です。
リクエストフォームにはnアイテムを含めることができ、リクエストフォームを追加する場合、コードを動的に追加する必要があります。
ダイナミックテーブル
| 以下は引用されたコンテンツです。 <テーブルボーダー= 0 width = 98%id = tabzx name = tabzx align = center class = table_list> <tr> <td class = th_list width = 10%> 列a </td> <td class = th_list width = 10%align = center> 列B </td> <td class = th_list width = 10%align = center> 列c </td> <td class = th_list width = 5%align = center> 列d </td> <td class = th_list width = 5%align = center> 列e </td> <td class = th_list width = 5%align = center> 列f </td> <% - <td class = th_list width = 7%align = center> 列g </td> - %> <td class = th_list width = 13%> [ <a href = javascript:doselect(450,400、 'formedit.supplyid')> <font color = ff0000>デバイスの選択</font> </a>] </td> </tr> </table> JSコードは次のとおりです(条件に応じてデバイスリストがポップアップし、既存のデバイスを選択します) 関数doselect(幅、高さ、ctrlobj){ var K; var s = new object(); k = showmodaldialog(/applications_add_addsearch.jsp、、dialogwidth:320px; status:no; scroll:no; dialogheight:280px); if(k!= null) { var url = /applicationsaction.do?method=insertaddseach&stid = k [0]&sbid = k [1]&ggid = k [2]; window.open(url、 'newwindow'、 'height = 600、width = 800、toolbar = no、menubar = no、scrollbars = yes、resizable = no、no、no、no、status = no'); } } ================================================ 選択に応じてデータコードを動的に追加します <スクリプト言語= vbscript> dim lcountmx lcountmx = 0 function badd(stid、stname、vcid、vcname、ggid、ggname、dwei、sliang、djia) lcountmx = lcountmx 1 薄暗いOrow、Ocell、ii OROW = tabzx.insertrowを設定します OROW.ID = TRZX&LCOUNTMX ocell = orow.insertcellを設定します dim sss sss = <input type = hidden name = cgdjmx&lcountmx&value => sss = sss&<input type = hiddenname = stid&lcountmx&value =&stid&> sss = sss&<input type = hiddenname = stname&lcountmx&value =&stname&> sss = sss&<input type = hidden name = vcid&lcountmx&value =&vcid&> sss = sss&<input type = hidden name = ggid&lcountmx&value =&ggid&> SSS = SSS&STNAME ocell.innerhtml = ss ocell.classname = listcellrow ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.align = center ocell.width = 60 ocell.innerhtml = <入力タイプ=非表示name = vcname&lcountmx&value =&vcname&>&vcname ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.align = center ocell.width = 60 ocell.innerhtml = <入力タイプ=非表示name = ggname&lcountmx&value =&ggname&>&ggname ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.align = center ocell.width = 60 ocell.innerhtml = <入力タイプ=テキストサイズ= 10 name = thao&lcountmx&value = ''> ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.align = center ocell.width = 60 ocell.innerhtml = <入力タイプ=非表示name = dwei&lcountmx&value =&dwei&>&dwei ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.align = center ocell.width = 60 ocell.innerhtml = <入力タイプ=テキストサイズ= 3 name = sliang&lcountmx&onchange = 'changefun(&lcountmx&)' value = ''> <% - ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.align = center ocell.width = 60 ocell.innerhtml = <入力タイプ=テキストサイズ= 3 name = djia&lcountmx&onchange = 'changefun1(&lcountmx&)' value = ''> - %> ocell = orow.insertcellを設定します ocell.classname = listcellrow ocell.innerhtml = <入力タイプ= 'button' value = 'delete' onclick = 'vbscript:bdel(&lcountmx&)' id = button7 name = button7> ocell.align = center document.applicationsform.ypsl.value = lcountmx エンド関数 関数bdel(l) tabzx.deleterow document.getElementById(TRZX&L).ROWINDEX エンド関数 関数changefun(obj1) OBJ1を変更します エンド関数 関数changefun1(obj1) change1 obj1 エンド関数 </script> =========================== |
共有:ASPからHTMLで写真を抽出するSRCパスを解析するASPのregexpとは何ですか?名前文字チェックは参照されたコンテンツです:public function checkname(str)checkname = true dim rep、pass set rep = new re
2ページの前のページ12次のページ次のページ