is x86_64 a x86 or x64?
4,543
It is a 64bit system. Using the designation x86 only for 32bit architectures is not quite correct. There are x86 processors with 64bit architecture. More precisely there are two different architectures designated as x64: the Intel x86 with 64bit and the AMD64.
See also:
Related videos on Youtube
Author by
CesarMiguel
Updated on September 18, 2022Comments
-
CesarMiguel over 1 year
i try to send razor value to jquery funcion.
View:
@Html.TextBoxFor(model => model.NumTransportado, new { @class = "form-control input-sm", id = "NumTransResp" + Model.ServicosID + "", name = "NumTransResp" + Model.ServicosID + "", onchange = "PreencheDadosVendedor(this, 3, " + @Model.ServicosID + ")" })
i can use all parameters except
" + @Model.ServicosID + "
Js file:
function PreencheDadosVendedor(idVend, tipoFuncionario, idServicoEdicao) { $.getJSON("/Contrato/getDadosVendedor", { id: $(idVend).val(), tipoFuncionario: tipoFuncionario }, function (result) { switch (tipoFuncionario) { case 1: $("#NomeVendedor_Contrato").val(result.NomeVendedor); case 2: $("#NomeTransResponsavel").val(result.NomeVendedor); case 3: $("#NomeTransResponsavel_" + idServicoEdicao + "").val(result.NomeVendedor); } }); }
i try to do
idSericoEdicao
is my@Model.ServicosID
, but i have same result: undifined-
musefan over 10 yearsAnd does
@Model.ServicosID
actually have a value in your view model? -
CesarMiguel over 10 yearsYes, have value. I use it several times
-
musefan over 10 yearsView the source of the HTML page (in browser), find that onchange attribute. What does it look like?
-
CesarMiguel over 10 yearsit looks fine, do what i want
-
CesarMiguel over 10 yearsThe html in browser:
<input class="form-control input-sm" data-val="true" data-val-number="The field NumTransportado must be a number." id="NumTransResp683" name="NumTransportado" onchange="PreencheDadosVendedor(this, 3, 683)" type="text" value="4">
The 683 it value i want -
musefan over 10 yearsSo it looks fine, so your problem is elsewhere. Which part of your code is produce
undefined
? If you putconsole.log(idServicoEdicao);
as the first line of yourPreencheDadosVendedor
, what does it output? -
CesarMiguel over 10 yearsif i do
alert(idServicoEdicao);
in function -
PSL over 10 years@CesarMiguel Did you get this working?
-