Welcome! Here you can paste sources and general debugging text, You can even set yourself a password if you want to keep it just for yourself.

Posted by Anonymous on June Thu 8th 1:30 AM - Never Expires
Download | New paste

  1. function updateNames(){
  2.     var templateChecked = document.getElementById("templateCheck").checked;
  3.     var des = $('#designationRole').val();
  4.     var inter = $('#internalName').val();
  5.  
  6.     url ="/roles/update/template/edit?id=" + id +"&designation=" +des+ "&internalName=" +inter+ "&template=" +templateChecked ;
  7.     $.ajax({
  8.         url: url,
  9.         type: "GET",
  10.         success: function(result){
  11.         },
  12.         statusCode: {
  13.             500: function() {
  14.             }
  15.         }
  16.     });
  17.  
  18.  
  19. }
Language:
To highlight particular lines, prefix each line with @@





Hosted by KanGouLya for OpenTunisia
Donate for OpenTunisia Servers.
Powered by PHPaste 1.1