What is the differnce between these two types using jquery
- by kumar
hi,
$('tr td:first-child').click(function() {
var foobar = $(this).text();
$("#showgrid").load('/Product/List/Item?id=' + foobar);
});
when I am seding foobar value like this in the Actionresult method I am getting string id value perfectly but I am not able to display the grid?
but intresting thing is when I am seding like this
$("#showgrid").load('/Product/List/Item?id=' + "12345");
then I am able to display the grid.. foobar result is same 12345..
what is the differnt between these two types?
can any body help me out..
thanks