Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function StartSess(client_id){
- new Ajax.Request('jax.php?op=StartSess&client_id='+client_id, {
- onComplete: function () {
- $('session_button_holder').update('<button type="button" style="background-color:#FF3300" onclick="StopSess();">Opreste sesiunea</button>');
- new Ajax.Request('jax.php?op=populate_categs', {
- onSuccess: function(transport) {
- $('categ_holder').update(transport.responseText);
- }
- })
- }
- });
- }
Add Comment
Please, Sign In to add comment