Hide Prev Next Button

How to hide the prev and next button on a Dynaform
$("#dyn_backward").hide();
$("img[src='/images/bulletButtonLeft.gif']").hide();
$("#dyn_forward").hide();
$("img[src='/images/bulletButton.gif']").hide();