Difference between revisions of "Jquery"
From OpenEMR Project Wiki
(document more features.) |
|||
Line 12: | Line 12: | ||
| $(document).ready() | | $(document).ready() | ||
| load jquery executable code as soon as the DOM is loaded, before page contents are loaded. | | load jquery executable code as soon as the DOM is loaded, before page contents are loaded. | ||
|- | |||
| $("<OBJECTCLASS>").mouseover() | |||
| executed when an object of class <OBJECTCLASS> has a mouse hover over it. | |||
|- | |||
| $("<OBJECTCLASS>").mouseout() | |||
| executed when an object of class <OBJECTCLASS> no longer has a mouse hovering over it. | |||
|- | |||
| $("<OBJECTCLASS>").click() | |||
| executed when an object of class <OBJECTCLASS> is clicked on. | |||
|} | |} | ||
Line 25: | Line 34: | ||
|- | |- | ||
| interface/super/show_lists_popup.php | | interface/super/show_lists_popup.php | ||
| $(document).ready(). | | $(document).ready(), $("<OBJECTCLASS>").mouseover(), $("<OBJECTCLASS>").mouseout(), $("<OBJECTCLASS>").click() | ||
|} | |} | ||
=== Users === | === Users === |
Revision as of 05:27, 26 February 2011
In-tree Versions
Several versions of jquery are in use in the OpenEMR codebase. the following is a list of versions, who uses them, and for what.
Jquery 1.2.2
Feature | Description |
---|---|
$(document).ready() | load jquery executable code as soon as the DOM is loaded, before page contents are loaded. |
$("<OBJECTCLASS>").mouseover() | executed when an object of class <OBJECTCLASS> has a mouse hover over it. |
$("<OBJECTCLASS>").mouseout() | executed when an object of class <OBJECTCLASS> no longer has a mouse hovering over it. |
$("<OBJECTCLASS>").click() | executed when an object of class <OBJECTCLASS> is clicked on. |
Files
library/js/jquery-1.2.2.min.js
File | Features Used |
---|---|
interface/super/show_lists_popup.php | $(document).ready(), $("<OBJECTCLASS>").mouseover(), $("<OBJECTCLASS>").mouseout(), $("<OBJECTCLASS>").click() |
Users
interface/super/show_groups_popup.php
interface/logview/logview.php
interface/patient_file/encounter/search_code.php
interface/patient_file/pos_checkout.php
interface/main/left_nav.php
interface/main/calendar/find_appt_popup.php