![]() |
hello, iam trying to onclick on one div send the content to another div - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: hello, iam trying to onclick on one div send the content to another div (/showthread.php?tid=58174) |
hello, iam trying to onclick on one div send the content to another div - El Forum - 05-22-2013 [eluser]dinisptc[/eluser] hello, iam trying to onclick on one div send the content to another div i can send the content from one div to another the problem now its to send only the one that its clicked on Code: [removed] Code: <form acti method="post"> hello, iam trying to onclick on one div send the content to another div - El Forum - 05-23-2013 [eluser]TheFuzzy0ne[/eluser] I don't understand how this is meant to work, or rather, what purpose this serves. You want the entire content of the div to move to the other, or the selected <ul> element? I would recommend using jQuery. You can then find all the relevant <div> elements, and assign an onclick event to each of them. There are also plugins that will allow you to set up a drag and drop interface quite easily, although I strong suggest you make sure your app works without Javascript first, and then add some Javascript to make super-sexy. |