Sorry if this question is mind numbingly easy to answer, but I'm a bit new to JQuery and I have a tight deadline.
I am looking for a selector for textbox elements that have this format:
id = "FixedName_#"
"FixedName" will always be "FixedName", but I only want to find elements where the # is positive. So I would want to find "FixedName_1", and "FixedName_2" for example, but skip over "FixedName_-1" and "FixedName_-2".
Thanks!
Update Ended up going with something like this (modified my actual code for display here so not sure if this works as shown):
$("input[id*='FixedName_']").each(function() {
if ($(this).attr("id").charAt(10) == "-") {
//Do something.
} else{
//Do something else.
}
});