Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ

I'm trying to put the *Date* field on the recruitment page,


There is one section that added a table with a column:

No, Description, Date



And added the *+* button, on that button click ajax will fire and return *HTML string*,

That I'll append in the table,


So ultimately the goal is to add functionality that users will add unlimited rows,


But while I render the new row, at that time *Date* widget does not work, It will work as Datetime,

In the first row, the date will be perfectly setted, but the another who comes through ajax will show the date-time. Here is the difference...


  • 1.1) Perfectly Works, this one is defined while the full template loaded on the page

  • 1.2) This one comes from the ajax call


Both XML sources are the same, but I don't know why it will contain an issue like this...

I got one solution, to call DateTime picker on ajax done, but it will open another dialogue box, which looks bad,


I want the same date picker only, that comes from the ajax call.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 22
2858
0
ต.ค. 16
3855
1
มิ.ย. 23
4192
1
เม.ย. 21
12280
2
ม.ค. 24
2618