code_junkie

jQuery .Net Deployment Issue

Nov 12th, 2011
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. $('.nextButton').click(function() {
  2.  
  3. var idString = '';
  4.  
  5. $("div.dropZone > div").each(function(n) {
  6. idString += this.id + '|';
  7. });
  8.  
  9. $.post('CustomPostHandler.aspx?step=criteria', {
  10. selected: idString
  11. },
  12. function(data) {
  13. alert(data);
  14. });
  15. });
  16.  
  17. // Return dummy response to caller
  18. Response.Clear();
  19. Response.ContentType = "text/plain";
  20. Response.Write("success");
  21. Response.End();
  22.  
  23. $.post('CustomPostHandler.aspx?step=criteria&random=' + Math.random().toString(), {
  24. selected: idString
  25. },
Add Comment
Please, Sign In to add comment