CodeIgniter Forums
Help need - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Help need (/showthread.php?tid=78641)



Help need - abeer - 02-19-2021

i am stuck on this ..

i created a modal on my sales page. when i click on the  product description input filed  a modal appear.

https://postimg.cc/ts2dmHm6

But when i add a new row   and i click the desc input filed  the modal didnt appear . see next image 

https://postimg.cc/47t9ZCwB

i want to appear this modal with dynamicaaly added input filed .  in below am giving the code 

i added the code with attachment 
    

Can anybody help me regarding issue?? advance thanks


RE: Help need - includebeer - 02-21-2021

This has nothing to do with CodeIgniter, it’s in your JavaScript code. You need to bind an event on the new input field if you want it to react when you click it.


RE: Help need - StepanyanMirkhavoyan - 02-25-2021

(02-21-2021, 06:39 AM)includebeer Wrote: This has nothing to do with CodeIgniter, it’s in your JavaScript code. You need to bind an event on the new input field if you want it to react when you click it.
 Appreciate
Well answered