Here ya go!
$("input[id^='DatePref']").val('hello!');On Dec 15, 5:10 pm, "[email protected]" <[email protected]> wrote: > Hi, > > I'm using JQuery 1.3. How do I write an expression to select all > elements whose id's begin with "DatePref"? These are all input > type="text" elements if that matters. > > Thanks, - Dave

