How to Highlight Updated Parts of a Page in "AJAX"

Highlighting updated sections of a website makes it easy for you to view updates you have implemented to a Web page over time or to show those updates to other users who may access the code or page. You can easily add a highlight to uploaded code in your website using AJAX's "Highlight" script, which highlights whatever code you place it around.

Instructions

    • 1

      Using Notepad, open the file with the updated code that you want to highlight. Click "Start" and type "Notepad" into the search field, then press "Enter." Press "Ctrl-O" on your keyboard and select the file from the window that opens, then click "Open."

    • 2

      Locate the updated code that you want to highlight.

    • 3

      Paste the following AJAX script directly above the updated code that you want to highlight:

      highlight() { CODE HERE}

      Replace "CODE HERE" with the actual code that you want to highlight.

    • 4

      Press "Ctrl-S" on your keyboard to save the changes, then exit Notepad.

Related Searches:

Comments

Related Ads

Featured