dima85, далее сами
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
$(function() {
var a = $("#menu a"),
a = $.map(a, function(b) {
var a = $("<input/>", {
val: $(b).attr("href"),
on: {
input: function() {
$(b).attr("href", this.value)
}
}
}),
c = $("<input/>", {
val: $(b).text(),
on: {
input: function() {
$(b).text(this.value)
}
}
}),
d = $("</br>");
return [a, c, d]
});
$("#edit").append(a)
});
</script>
</head>
<body>
<div id="menu">
<a href="#dfdf">df</a>
<a href="#fgg44">fsdfsd</a>
<a href="#Df324">dsfdsf</a>
<a href="#dfs33">sdfsdf</a>
</div>
<br>
<div id="edit"></div>
</body>
</html>