I see the use of x-editable in my tables, when I drag the table data from the database, the job Does everything fine, my problem occurs when i make it editable, the first line is only the row that is editable.
All other rows are visible below the hyperlink, and when they click on them, they just put # in the address bar after * .php
All the rows are editable to me What's missing?
& lt; Table id = "userinfo" category = "table-table-barbed table-stripe" & gt; & Lt; Thead & gt; & Lt; TR & gt; & Lt; Th & gt; Name & lt; / Th & gt; & Lt; Th & gt; MeetingStart & lt; / Th & gt; & Lt; Th & gt; Details & lt; / Th & gt; & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; Tbody & gt; & Lt ;? Php $ info = db :: getInstance () - & gt; Query ('notice' from 'select'); Foreign exchange ($ info-> result () as $ info) {? & Gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; "Select" data-pk = "1" data-value = "5" data-source = "/ group" data-base-title = "select group" "=" # "id =" groupname " "& Gt; & Lt ;? Php echo $ info- & gt; Name; ? & Gt; & Lt; / A & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; A href = "#" id = "meeting_start" data-type = "datetime" data-pk = "1" data-url = "/ post" data-placement = "right" title = "set date and time" & gt; ; & Lt ;? Php $ info- & gt; Start the meeting; ? & Gt; & Lt; / A & gt; & Lt; / TD & gt; & Lt; Td> & Lt ;? Php ek $ info-> description; ? & Gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt ;? Php}; ? & Gt; & Lt; / Tbody & gt;
Screenshot of the problem
< / Div>
Duplicate DOM ID:
foreach (...) {& lt; A href = "#" id = "group name" ^^^^^^^^^
Since the DOM id is required unique, stop the system properly When he finds the first Milan dom node you're outputing the same ID to every line in your table.
Comments
Post a Comment