I have small experience with ASP and Javascript.
I'm working on a ASP.NET MVC5 project and I'm having a problem with Ajax Call to a method The Jax call go like this :
$.ajax({
data: { 'param1': param1Id, 'Param2': param2Id},
datatype: "json",
type: "GET",
url: "../PartSelector/SearchPart",
cache: false,
success: function(data) {
$('#SearchPart').html(data);
}
});
But I keep getting the error HTTP404: INTROUVABLE - Le serveur n’a rien trouvé correspondant à l’URI (Uniform Resource Identifier) demandé. (XHR)GET - http://localhost:10473/Locator/PartSelector/SearchPart?param1=CR00061752¶m2=6101&_=1498495699141
My controler look good
public ActionResult SearchPart(string param1, string param2)
{
}
But when I take a look at the URL a strange parameter is added: "&_=1498495699141" I don't know where this parameter came from.
Can someone help? Thanks
Hugo
</div>