I've gotten the jQuery Datepicker to show up when I click an Input box, but whenever I select a date, the row is not marked as dirty, so the Save button does not become enabled. I see using firebug that some ajax is run when a different input box is changed. How can I get the same ajax to run when I select a date or close the jquery box? There is an onClose event that is fired when the datepicker is closed.
Here is the script that is run:
I'm assuming that there is an alpha function that is run to create that link. But I've been unable to find it.
(FYI: The reason I'm not using the built in datepicker is because I'm eventually going to add in the timepicker as well.)
Here is the script that is run:
Code:
http://localhost/jklive/__a5RunGrid.a5w?__pageName=tm_a5w_new_prospects.a5w&__gridFilename=tm_grid_new_prospects&__alias=PROSPECTS&__unsaved=no&KEYS.R1%5B%5D=2304&KEYS.R1%5B%5D=33602&V.R1.BIDDATE=02%2F14%2F2011&V.R1.CONTACT_ADDRESSLINE1=&V.R1.CONTACT_ADDRESSLINE2=&V.R1.CONTACT_ADDRESSZIP_FK=33607&V.R1.CONTACT_EMAIL=helpa&V.R1.CONTACT_EXTENSION=&V.R1.CONTACT_FAX=&V.R1.CONTACT_FIRSTNAME=R.%20Jordan&V.R1.CONTACT_LASTNAME=Megular &V.R1.CONTACT_PHONE=(813)-229-6511&V.R1.CONTACT_SALUTATION=Mr.%20Megular&V.R1.PROPOSAL_FK=0&V.R1.ZIPCODE=33602&__Ajax=true&__FormAction=refreshRow&__FormID=PROSPECTS&__Nulls_1=0%2C0%2C0%2C0%2C1%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C1%2C0%2C0%2C0%2C0%2C0&__methodType=controlDirty&__row=1&__si.FB=&__si.FL=&__si.FLSF=&__si.Filter_combined=&__si.GUID=c1b1f201-247b-4909-8d37-da77c05e17d4&__si.LogicalRecNo=1&__si.NestedGridName=&__si.PB=&__si.PL=&__si.Parameters_combined=&__si.QS=territory%3D1&__si.QS_LinkInfo=&__si.QS_LinkInfoCount=&__si.RecordCount=4089&__si.RowCount=1 &__si.SaveDebugInfo=No&__si.Timer=False&__si.arguments=Territory%7C%7C1%0D%0A&__si.baseFilterReset=&__si.dtFmt=MM%2Fdd%2Fyyyy%200h%3A0m%20am&__si.gridQBE=&__si.initialized=True&__si.isNestedGrid=False&__si.lrn=1&__si.order=tm_prospects.LastCalled%0D%0A&__si.overrideSettings=P8%7D%3ExOjOy%7Bm%20JIw5c0%3B6b%C2%95j%3At'd%C2%8B%3C%24pSD)k%3E.*Q)%2F2%3F%5Bn60%3Ct%7Df(h7aP4-f3%C3%9E.F.%3D9w)l%3CA)%C2%96&__si.pageNumber=1&__si.rowsInEditMode=&__si.sortColumn=&__si.sortDirection=&a5DirtyRegions=PROSPECTS.R1 &a5RegionsDirtyValues=V.R1.CONTACT_EMAIL&old.V.R1.BIDDATE=02%2F25%2F2011&old.V.R1.CONTACT_ADDRESSLINE1=&old.V.R1.CONTACT_ADDRESSLINE2=&old.V.R1.CONTACT_ADDRESSZIP_FK=33607&old.V.R1.CONTACT_EMAIL=help&old.V.R1.CONTACT_EXTENSION=&old.V.R1.CONTACT_FAX=&old.V.R1.CONTACT_FIRSTNAME=R.%20Jordan&old.V.R1.CONTACT_LASTNAME=Megular&old.V.R1.CONTACT_PHONE=(813)-229-6511&old.V.R1.CONTACT_SALUTATION=Mr.%20Megular&old.V.R1.PROPOSAL_FK=0&old.V.R1.ZIPCODE=33602&territory=1
(FYI: The reason I'm not using the built in datepicker is because I'm eventually going to add in the timepicker as well.)
Comment