2017-03-05 3 views
0

私の友人はツールをしばらく作ってしまいました。私は最新の情報で修正しようとしています。ツールは簡単です。クリックコピーツールです。一部のボタンでうまくいきますが、他のボタンをクリックしても何も起こりません。HTMLコードの問題3

たとえば、「明確化ツール」は機能しますが、「アカウント確認」では機能しません。

私のHTML知識はほとんどありません。私はそれが理にかなっているかどうかを確認するためにコードを追加しました。

私は問題がinput onclick="copyit('frm1.hits')であると思います。これと何を等しくすべきですか?なぜこのセクションを変更せずに他のものではなく一部で動作しますか?ここで

はHTMLです:?

 <input onclick="copyit('frm1.hddsize')" type="button" value="One time Fees" title="This page lists one-time fees resulting from customer cancellations or disconnects Link: https://community.global.dish.com/content.aspx?id=12328" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
     <input type=text name=hddsize readonly size="1" value="This page lists one-time fees resulting from customer cancellations or disconnects Link: https://community.global.dish.com/content.aspx?id=12328" style="background-color:black; border:0,0,0,0; color:black"> 
    </td> 
</tr> 
<tr> 
    <td> 
     <input onclick="copyit('frm1.maxtimers')" type="button" value="Competition" title="Please reference the Competition page, this will give you basic talking points to use as rebuttals https://community.global.dish.com/section.aspx?id=303" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
     <input type=text name=maxtimers readonly size="1" value="Please reference the Competition page, this will give you basic talking points to use as rebuttals https://community.global.dish.com/section.aspx?id=303" style="background-color:black; border:0,0,0,0; color:black"> 
    </td> 
</tr> 
<tr> 
    <td> 
     <input onclick="copyit('frm1.remotecomp')" type="button" value="ARS Labels" title="Shipping and Label information can be found here: https://community.global.dish.com/content.aspx?id=1510" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
     <input type=text name=remotecomp readonly size="1" value="Shipping and Label information can be found here: https://community.global.dish.com/content.aspx?id=1510" style="background-color:black; border:0,0,0,0; color:black"> 
    </td> 
</tr> 
<tr> 
    <td> 
     <input onclick="copyit('frm1.remotekey')" type="button" value="Term Exceptions" title="Please follow the terminations Fee exception processed found here Link: https://community.global.dish.com/content.aspx?id=4272" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
     <input type=text name=remotekey readonly size="1" value="Please follow the terminations Fee exception processed found here Link: https://community.global.dish.com/content.aspx?id=4272" style="background-color:black; border:0,0,0,0; color:black"> 
    </td> 
</tr> 
<tr> 
    <td> 
     <input onclick="copyit('frm1.speedsize')" type="button" value="My Tech" title="Please Reference the My tech to check tech status https://community.global.dish.com/apps/accounts/techappointments.aspx" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
     <input type=text name=speedsize readonly size="1" value="The information can be found on https://community.global.dish.com/content.aspx?id=3376, it will show you average speeds and average size of files for DISH services" style="background-color:black; border:0,0,0,0; color:black"> 
    </td> 
</tr> 
<tr> 
    <td> 
     <strong> 
      <p style="color:#8DFF5C; font-family:'Segoe UI'">General Inquiries</p> 
     </strong> 
    </td> 
</tr> 
<tr> 
    <td> 
     <input onclick="copyit('frm1.hits')" type="button" value="Clarify Tool" title="You can use this tool to locate tracking numbers and RA equipment status and test results. Link: http://mnet.global.dish.com/programs/clarify_lookup/Clarify_SIM_GUI.asp" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
     <input type=text name=hits readonly size="1" value="You can use this tool to locate tracking numbers and RA equipment status and test results. Link: http://mnet.global.dish.com/programs/clarify_lookup/Clarify_SIM_GUI.asp " style="background-color:#101010; border:0,0,0,0; color:#101010"> 
    </td> 
</tr> 
<tr> 
    <td> 
     <input onclick="copyit('frm1.rcvrhome')" type="button" value="Security Verification" title="Please follow the account security procedure: https://community.global.dish.com/content.aspx?id=392" name="copy" style="width:150px; background-color:black; color:#8DFF5C;"> 
+1

のためのいくつか=イムすべての良いおかげで行方不明になりましたかそれが機能しない場合は、あなたの質問を編集して関連するJSを表示してください。 – nnnnnn

+0

私はそれを持っていると思う - それはいくつかのために働いた名前= – jesse956

+0

nvmと一致する必要がありますし、 – jesse956

答えて

0

は `copyit()`関数は何の助け