2uzhan.com
Advertisement
Now Place:2uzhan.com » Internet Explorer 11 / Angular JS issue

Internet Explorer 11 / Angular JS issue

Web Development @ November 7, 2013   Views:0

I'm having trouble with the following code in IE 11 (Windows 8.1)

var oAddressEditorController = angular.element(oModal[0]).controller();

// Initialise the controller with the passed options
oAddressEditorController.init(poParams);

// Show the address editor modal
oModal.modal('show');

Error says 'Unable to get property 'init' of undefined or null reference. Works fine in other browsers and versions of IE.

Help will be much appreciated

--------------Solutions-------------

My guess is the modal attempts to show before the oAddressEditorController is initialized. Is there a way around this?

I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like ...

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of <script>debugger;</script> tags in the db. Dispite my best efforts, the strings I've ...

    //The php section of the code

           <?php

           function getJSONFromDB($sql){

           $conn = mysqli_connect("localhost", "root", "","rent");

           //echo $sql;

           $result = mysqli_query($conn, $sql)or die(mysqli_error());

           $arr=array();

           while($row = mysqli_fetch_assoc($result)) {

                   $arr[]=$row;

               }

               return json_encode($arr); ...
Tags:javascript
© 2018 2uzhan.com Contact