Skip to content

jquery plugin supports base64 codec and ajax integrated base64 decoding functionality

License

Notifications You must be signed in to change notification settings

yatt/jquery.base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery.base64 plugin

jQuery.base64 is a jQuery plugin supports

  • base64 codec function
  • ajax integrated base64 decoding functionality

Sample

// encode/decode
$('#enc').html($.base64.encode(text))
$('#dec').html($.base64.decode($.base64.encode(text)))

// ajax integrated decoding
$.get('test2.txt', function(data){
    // variable data is already decoded to plain text
    $('#target').html(data)
}, 'text:b64')

$.get('test.html.txt', function(data){
    $('#target').html(data)
}, 'html:b64')

Dependencies

Nothing without jQuery

About

jquery plugin supports base64 codec and ajax integrated base64 decoding functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published