Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/externals/javelin/lib/DOM.js
Show First 20 Lines • Show All 537 Lines • ▼ Show 20 Lines | replace : function(node, replacement) { | ||||
var parent = node.parentNode; | var parent = node.parentNode; | ||||
parent.removeChild(node); | parent.removeChild(node); | ||||
this._insertContent(parent, replacement, mechanism); | this._insertContent(parent, replacement, mechanism); | ||||
return node; | return node; | ||||
}, | }, | ||||
/* -( Serializing Froms )-------------------------------------------------- */ | /* -( Serializing Forms )-------------------------------------------------- */ | ||||
/** | /** | ||||
* Converts a form into a list of <name, value> pairs. | * Converts a form into a list of <name, value> pairs. | ||||
* | * | ||||
* Note: This function explicity does not match for submit inputs as there | * Note: This function explicity does not match for submit inputs as there | ||||
* could be multiple in a form. It's the caller's obligation to add the | * could be multiple in a form. It's the caller's obligation to add the | ||||
* submit input value if desired. | * submit input value if desired. | ||||
▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines |