All methods of Editstrap

Edit

This method allows you to show an editable field.

Examples
							
Example edit
							$(function() {
								$("#edit").editstrap();
							});	
							
							function edit(){
								$("#edit").editstrap('edit');
							}
                         
Example edit

Destroy

You can use this method to remove editstrap from a field and make it not editable.

Example
		                	
Example destroy
							$(function() {
								$("#edit").editstrap();
							});	
							
							function destroy(){
								$("#edit").editstrap('destroy');
							}
                         
Example destroy

getValue

This method returns the current value of the editable field.

Example
		                	
Example edit
							$(function() {
								$("#edit").editstrap();
							});	
							
							function getValue(){
								alert('The value is : '+$("#edit").editstrap('getValue'));
							}
                         
Example edit

getType

This method returns the type of the editable field.

Example
		                	
Example edit
							$(function() {
								type:'text',
								$("#edit").editstrap();
							});	
							
							function getValue(){
								alert('The type is : '+$("#edit").editstrap('getType'));
							}
                         
Example edit