Guest User

Untitled

a guest
May 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. function StartSess(client_id){
  2. new Ajax.Request('jax.php?op=StartSess&client_id='+client_id, {
  3. onComplete: function () {
  4. $('session_button_holder').update('<button type="button" style="background-color:#FF3300" onclick="StopSess();">Opreste sesiunea</button>');
  5. new Ajax.Request('jax.php?op=populate_categs', {
  6. onSuccess: function(transport) {
  7. $('categ_holder').update(transport.responseText);
  8. }
  9. })
  10. }
  11. });
  12. }
Add Comment
Please, Sign In to add comment