Difference between revisions of "Jquery"
From OpenEMR Project Wiki
(simplify, and add more ontent.) |
|||
Line 9: | Line 9: | ||
! Feature | ! Feature | ||
! Description | ! Description | ||
! Version Added | |||
|- | |- | ||
| $(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. | ||
| 1.0 | |||
|- | |- | ||
| .attr() | | .attr() | ||
| Called to get the attribute value for only the first element in the matched set | | Called to get the attribute value for only the first element in the matched set | ||
| 1.0 | |||
|- | |- | ||
| .click() | | .click() | ||
| Executed when an object is clicked on. | | Executed when an object is clicked on. | ||
| 1.0 | |||
|- | |- | ||
| .mouseout() | | .mouseout() | ||
| Executed when an object no longer has a mouse hovering over it. | | Executed when an object no longer has a mouse hovering over it. | ||
| 1.0 | |||
|- | |- | ||
| .mouseover() | | .mouseover() | ||
| Executed when an object has a mouse hover over it. | | Executed when an object has a mouse hover over it. | ||
| 1.0 | |||
|- | |- | ||
| .toggleClass() | | .toggleClass() | ||
| Called to add an object to/remove an object from a given class. | | Called to add an object to/remove an object from a given class. | ||
| 1.0 | |||
|- | |||
| [[http://api.jquery.com/val/|.val()]] | |||
| Called to get the current value of the first element in the set of matched elements. | |||
| 1.0 | |||
|} | |} | ||
Line 41: | Line 52: | ||
| interface/super/show_lists_popup.php | | interface/super/show_lists_popup.php | ||
| $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass | | $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass | ||
|- | |||
| interface/super/show_groups_popup.php | |||
| $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass | |||
|- | |||
| interface/logview/logview.php | |||
| $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass, .val | |||
|- | |||
| interface/patient_file/encounter/search_code.php | |||
| | |||
|} | |} | ||
=== Users === | === Users === | ||
interface/patient_file/pos_checkout.php | interface/patient_file/pos_checkout.php | ||
interface/main/left_nav.php | interface/main/left_nav.php | ||
interface/main/calendar/find_appt_popup.php | interface/main/calendar/find_appt_popup.php |
Revision as of 06:17, 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 | Version Added |
---|---|---|
$(document).ready() | Load jquery executable code as soon as the DOM is loaded, before page contents are loaded. | 1.0 |
.attr() | Called to get the attribute value for only the first element in the matched set | 1.0 |
.click() | Executed when an object is clicked on. | 1.0 |
.mouseout() | Executed when an object no longer has a mouse hovering over it. | 1.0 |
.mouseover() | Executed when an object has a mouse hover over it. | 1.0 |
.toggleClass() | Called to add an object to/remove an object from a given class. | 1.0 |
[[1]] | Called to get the current value of the first element in the set of matched elements. | 1.0 |
Files
library/js/jquery-1.2.2.min.js
File | Features Used |
---|---|
interface/super/show_lists_popup.php | $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass |
interface/super/show_groups_popup.php | $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass |
interface/logview/logview.php | $(document).ready(), .click(), .mouseout(), .mouseover(), .toggleClass, .val |
interface/patient_file/encounter/search_code.php |
Users
interface/patient_file/pos_checkout.php interface/main/left_nav.php interface/main/calendar/find_appt_popup.php