How do you add jQuery ui tabs to a dialog box on click? Here is my code.
<p> <a href="#" class = "premium_payer">Premium Payer:</a> <span data-bind = "text: movements_owner_fullname" id = "movements_payer_fullname" > </span> </p> <script type="text/javascript"> $('a.premium_payer').click(function payerDialog(e){ $("#premium_payer").html('').dialog(); $("#premium_payer").append('<p>' + "Full name: " + payer_fullname + '</p>').dialog(); $("#premium_ayer").append('<p>' + "ID Number: " + person_id + '</p>').dialog(); e.preventDefault(); }); </script>