-
Notifications
You must be signed in to change notification settings - Fork 2
JavaScript hex conversion tool for online sites toolfk online Programmer toolbox
This paper to recommend [ToolFk] is a programmers often use a free online test kit, ToolFk feature is focused on everyday programmer development tools, without having to install any software, as long as the content execution affixed by a button, able to obtain the contents of the desired results.ToolFk also supports BarCode Barcode generated online , QueryList collector , PHP code is run online , PHP confusion, encryption, decryption , Python code is run online , JavaScript online operation ,YAML formatting tools , HTTP simulation query tool , HTML online toolbox , JavaScript online Toolbox ,CSS online toolbox , JSON online toolbox , unixtime timestamp conversion , Base64 / the URL of / native2ascii conversion , CSV conversion kit , XML online toolbox , the WebSocket online tools , Markdown online toolbox , Htaccess2nginx conversion, Hex conversion online , online encryption toolkit ,online pseudo-original tools , online APK decompile , online web screenshot tool , online random password generation , online generate two-dimensional code qrcode , online Crontab Expression Builder ,the online short URL Generator , Online calculator tool . And more than 20 daily programmer development tools, can be considered a very comprehensive website programmer's toolbox.
Site name: ToolFk
website links: https://www.toolfk.com/
Tools link: https://www.toolfk.com/tool-convert-hexadecimal
This tool [online? Hex conversion tool]?-Dependent code base is https://www.toolfk.com/tools/js/hexconvert.js
STEP 1
STEP 2
? THE CORE CODE IS AS FOLLOWS
$ ( ". Cus-input"). Keyup (function () {
if ($ (this) .val ()) {
$ ( ". Convert-btn") trigger ( "click").;
}
});
$ ( '. Convert-btn'). On ( 'click', function (e) {
e.preventDefault ();
var num = $ ( '# num') val ().;
var hex = $ ( "input [name = 'hex']: checked") val ();.
var num = bases.fromBase (num, hex);
if (num <0) {
return layer.msg ( "@ lang ( 'toolfk.lang_text_valid')");
}
. $ ( '# Base_2') val (bases.toBase (num, 2));
$ ( '# Base_8') val (bases.toBase (num, 8)).;
. $ ( '# Base_10') val (bases.toBase (num, 10));
. $ ( '# Base_16') val (bases.toBase (num, 16));
. $ ( '# Base_26') val (bases.toBase (num, 26));
. $ ( '# Base_32') val (bases.toBase (num, 32));
. $ ( '# Base_36') val (bases.toBase (num, 36));
. $ ( '# Base_52') val (bases.toBase (num, 52));
$ ( '# Base_58') val (bases.toBase (num, 58)).;
. $ ( '# Base_62') val (bases.toBase (num, 62));
. $ ( '# Base_64') val (bases.toBase (num, 64));
toolfk.report ( 'hexadecimal', num + ":" + hex);
});
-
Integrate various programmers often used in development and testing tools.
-
Simple and beautiful atmosphere of the site pages
-
Online support formatting code execution, APK online decompile, online high-strength password generator, two dozen screenshots online web tools service
-
Also recommend its sister network www.videofk.com video download Toolbox
This link: http://www.hihubs.com/article/376