Error ajax in Dynamic Box(Widget)

Error ajax in Dynamic Box(Widget)

BY 24 Feb 2014 Web Application Development

function : get API data in dynamic box(widget)

 

>> DynamicBox project –> box(folder)–> widget.html

<script>

function getAPIDatanfo(){
        $.ajax({
                url : “http:~”

 

>>Console error msg

box/widget.html?type=pdopen&width=175&height=175&pdopen-direction=down&pdopen-arrow-xpos=87 (54) :ReferenceError: Can’t find variable: $

 

widget.html  can’t get api data in dynamicboxviewer, but it can in dynamicbox application.

 

 

Written by