I have a newform.aspx created through SPD. Its already contains a drop down list.
<SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" FieldName="Enquiry_x0020_Type" __designer:bind="{ddwrt:DataBind('i',concat('ff4',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Enquiry_x0020_Type')}"/>
I have some javascript that i want to invoke when the drop down list changes.
$(document).ready(function() {
$("#ff4{$Pos}").change(function() {
alert("drop down change");
});});
But nothing happens, I tried adding my own drop down and using its ID and this works fine, but I cannot correctly target the existing SP form drop down.