Jump to content
php.lv forumi
  • 0

Ieraksta pārcelšana no vienas tabulas uz citu tabulu


Sasa

Question

4 answers to this question

Recommended Posts

  • 0

Kā nav? Ir gan. Pirms rindas dzēšanas izskrien cauri rindas cellēm un noklonē to saturu (cloneNode metode), izmet veco rindu ārā, un tad jaunieliktajā rindā saliec saklonētos elementus pa rūtiņām. Ļoti vienkārši.

 

Iespējams var arī īsāk - bez klonēšanas, un pa tiešo likt ceļļu saturu jaunajā tabulā. Vajag tik kodu rakstīt un tad jau redzēs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...