Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery view image in codeigniter

    <script type="text/javascript">
            $(document).ready(function(){

              $(".tt").click(function(){

                ....
                 $("#kabkota").html($(this).attr("kabkota"));

                 $('#photoss').html('<img src="'+base_url+'upload/screenshoot/'+ss+'" class="img-responsive">'); // show photo
                 });
               });
          </script> 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #view #image #codeigniter
ADD COMMENT
Topic
Name
1+1 =