diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-10 09:41:31 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-10 09:41:31 +0100 |
commit | f35d43399a9ce03f08ffa326812bc5ed6764ef9e (patch) | |
tree | a27b36d48835f584b10bb8fc5132309da1337c81 /demos/quickstart/protected/pages/GettingStarted/Upgrading32.page | |
parent | 20dee7ffd329bb595c56b592c30b269b226fea5c (diff) |
Ported some tests to jQuery
Diffstat (limited to 'demos/quickstart/protected/pages/GettingStarted/Upgrading32.page')
-rw-r--r-- | demos/quickstart/protected/pages/GettingStarted/Upgrading32.page | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/GettingStarted/Upgrading32.page b/demos/quickstart/protected/pages/GettingStarted/Upgrading32.page index 4417c668..4124e59e 100644 --- a/demos/quickstart/protected/pages/GettingStarted/Upgrading32.page +++ b/demos/quickstart/protected/pages/GettingStarted/Upgrading32.page @@ -149,6 +149,11 @@ The number one rule on writing jQuery javascript code is to read the <a href="ht </td> </tr> <tr> + <td>Change element contents</td> + <td>$('div1').innerHTML='new content'</td> + <td>$('#div1').html('new content')</td> + </tr> + <tr> <td>Hook on ajax events</td> <td>Ajax.Responders.register({ <br/>"onLoading" : my_function |