Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dojo.connect(dojo.byId("artchk<%= article.id %>"), "onclick", function(e1) {
- dojo.byId('debuginfo2').innerHTML = "ok";
- dojo.xhrPost({
- url: '/articles/1',
- handleAs: 'text',
- load: function(dataC) {
- dojo.byId('debuginfo2').innerHTML = dataC;
- },
- error: function(error) {
- }
- })
- });
Add Comment
Please, Sign In to add comment