<td class="textformcol"> @Html.TextBox("CategoryName", null, new { data_autocomplete_url = Url.Action("AutoComplete_Buyer"), @class = "textboxwdh200", id = "CategoryNameBuyer", maxlength = "30", onkeypress = "return isCharNumeric(this,event);" }) </td> <td class="textform"> <input type="image" src="../../App_Themes/Themes/Images/button_submit.gif" id="BuyerSubmit" name="BuyerSubmit" /> </td>
<script language="javascript"> $(document).ready(function () { $("#BuyerSubmit").click(function () { debugger; var Category = $('#CategoryNameBuyer').val(); url = 'business-buyer-leads?CategoryName=' + Category; window.location = url; $('#CategoryNameBuyer').focus(); }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)