Let us you have grid with id="list"
for example, then the id of the toppager will be list_toppager
. So to change "10000000" text in both pagers you can do the following
$("#pager .ui-pg-selbox option[value=10000000]").text("All");
$("#list_toppager .ui-pg-selbox option[value=10000000]").text("All");
or alternatively you can use one line
$("#list").closest(".ui-jqgrid")
.find(".ui-pg-selbox option[value=10000000]")
.text("All");
which changes text in both top and bottom pagers.