@Html.TextBox("Title",null, new { @class = "name_input", @id = "Title" }) @Html.TextBox("LongUrlText", "http://www.darwish.ps/"+ pageID + "/Details/" + Model.ID + (I need here to add the value which come from the textbox Title)"/" + Model.Title.ToSeoUrl(), new { @class = "name_input", @id = "LongUrlText", @readonly = "readonly" })
@*<script> document.getElementById("Title").onkeyup = function () { document.getElementById("LongUrlText2").value = this.value; }; </script>*@
<script> var initialValue = document.getElementById("LongUrlText2").value; document.getElementById("Title").onkeyup = function () { document.getElementById("LongUrlText2").value = initialValue + this.value; }; </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)