/ Programming / 網頁/網站程式 / JavaScript /

讓插入到 innerHTML 中的 JavaScript 跑起來

New Subject
Random
Previous
Next
|
讓插入到 innerHTML 中的 JavaScript 跑起來

運用Ajax技術大多數的情況,都是更新HTML元素中的內容,有的時候我們也會在innerHTML中加入一段JavaScript 代碼。

我們想當然的認為這段JavaScript 代碼會很順利的執行,但是事實上,這段代碼不會執行(最起碼不經過特殊的處理,代碼是不會執行的)。

  • Keywords : 執行, 代碼, 順利, 這段代碼, 處理, 想當然, 情況, 內容, 代碼會
0 0
2009-04-22T13:54:50+0000


  • Now, you can post comments by Facebook Account when your Yampiz account was logout or unvariable. whatever, we suggest to post comment by Yampiz Account to get more bounds to join new events of Heyxu
Comment
 
Verify

Archive DIR

    Facebook Page

    QR-Code and APP Launcher

    User Guide
    This Webpage

    In those service tabs, "Scan QRCode, in mobile device" or "Click the button, in this device" to open webpage or APP-related operations.
    QRCode
    • Auto Platform
      For better browsing experience, it will auto detects your device to display webpage.
    • Bug Report
      Tell us about the idea, problem and errors you found.
    • Comodo Secure
      The sensitive data transmission adopts by SSL-2048 authenticated encryption.
    • Copyright
      © 2009 YamPiz Digital Inc. & Jaby Group. All rights reserved.
    • Revised Version
      V2.2.207
      06 Jan 2025 (GMT+8)