I have to display a popup as in SharePoint 2013 which is called Callout popup. for that I have to use callout.js file in my code.
I have tried it with Content Editor Web part and it is working fine but when I tried to use it in myApp Part it is not working Correctly it is giving me following Error.
SCRIPT5009: 'IsElementRtl' is undefinedcallout.js, line 1 character 8584
NOTE : I have tried following links.
I have added following JS references in My App Part
<scripttype="text/javascript"src="../Scripts/jquery-1.7.1.min.js"></script>
<scripttype="text/javascript"src="/_layouts/15/MicrosoftAjax.js"></script>
<scripttype="text/javascript"src="/_layouts/15/init.js"></script>
<scripttype="text/javascript"src="/_layouts/15/mQuery.js"></script>
<scripttype="text/javascript"src="/_layouts/15/sp.ui.dialog.js"></script>
<scripttype="text/javascript"src="/_layouts/15/sp.runtime.js"></script>
<scripttype="text/javascript"src="/_layouts/15/sp.js"></script>
<scripttype="text/javascript"src="/_layouts/15/callout.js"></script>
Ritesh Goswami