You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			37 lines
		
	
	
		
			883 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			37 lines
		
	
	
		
			883 B
		
	
	
	
		
			JavaScript
		
	
| /**
 | |
|  * The Phi Technology LLC,
 | |
|  * Javascript-x framework version 0.1
 | |
|  * 
 | |
|  * Handling of DOM objects will rely on DOM object identifiers (ID) with a few exceptions
 | |
|  * This file handles DOM objects with a namespace implementation. 
 | |
|  * The basic design is a wrapper around WC3 standard interface for a dom
 | |
|  */
 | |
| 
 | |
| if(!jx){
 | |
|     var jx = {}
 | |
| }
 | |
| jx.dom = {} ;
 | |
| jx.dom.exists = function(id){
 | |
|     return document.getElement(id) != null || document.getElementsByName(id) != null ;
 | |
| }
 | |
| jx.dom.get = {} ;
 | |
| /**
 | |
|  * This function will return the value of a dom object regardless of the object
 | |
|  * @param {type} id
 | |
|  * @returns {undefined}
 | |
|  */
 | |
| jx.dom.get.value = function(id){
 | |
|     
 | |
| }
 | |
| jx.dom.get.children = function(id){}
 | |
| 
 | |
| jx.dom.set = {} ;
 | |
| /**
 | |
|  * This function will set a value to a dom object
 | |
|  * @param {type} id
 | |
|  * @param {type} value
 | |
|  * @returns {undefined}
 | |
|  */
 | |
| jx.dom.set.value= function(id,value){
 | |
|     
 | |
| } | 
