Comments (3)
Apparently there a small bug in the code related to ajax storing. I have fixed it now.
from jquery-hotspot.
Still the same issue. using the same code as above. if possible could you add an example?
from jquery-hotspot.
You don't have to define the data in your ajax options.
Also the callback should not be declared while initiating the plugin. It is included directly in the plugin.
Change your code to this:
$("#divHotspotTest").hotspot({
mode: "admin",
ajax: true,
ajaxOptions: {
url: 'QuestionPack.aspx/GetHotspotData',
type: 'GET'
},
LS_Variable: "HotspotPlugin-b",
done_btnId: 'done-b',
remove_btnId: 'remove-b',
server_btnId: 'server-b',
done_btnClass: 'btn btn-success controls',
remove_btnClass: 'btn btn-danger controls',
sync_btnClass: 'btn btn-info controls',
afterSave: function (message) {
alert(message);
},
afterRemove: function (message) {
alert(message);
window.location.reload();
},
afterSyncToServer: function (message) {
alert(message);
}
});
from jquery-hotspot.
Related Issues (16)
- problem in IE- 8
- Responsive HOT 2
- v 2.0.2 not responsive
- Caching
- how to print data sent by ajax HOT 1
- adding bootstrap "class="form-control"" to input fields
- reset all existing spots after remove complete without page reload HOT 1
- Issue when adding hotspot to a slider (siema slider)
- How to delete individual Hotspot?
- How can we add a click event on a hotspot popup
- Need a edit functionality of existing hotspot or point to edit
- How to add url links to open when user clicks the hotspot? HOT 1
- Hotspots on wordpress website HOT 1
- Problem In Responsive View. HOT 6
- How to Edit these show points, like change them positions then save? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-hotspot.