ToolFk is a free test kit that programmers use online. ToolFk focuses on the tools that programmers use every day. You don’t need to install any software, just paste the content and press the execute button to get the results you want. ToolFk also supports BarCode BarCode generation online, QueryList collector, PHP code running online, PHP obfuscation, encryption, decryption, Python code online running, JavaScript online running, YAML Formatting Tool, HTTP simulation query tool, HTML online toolbox, JavaScript online toolbox, CSS online toolbox, JSON online toolbox, Unixtime timestamp conversion, Base64/URL/N Ative2Ascii conversion, CSV conversion toolbox, XML online toolbox, WebSocket online tool, Markdown online toolbox, Htaccess2nginx Conversion, base online conversion, online encryption toolbox, online pseudo-original tool, online APK decompile, online webpage screenshot tool, online random password generation, online Qrcode Qrcode generation, online Crontab expression generation, online short url generation, online calculator tool. Such as more than 20 daily programmer development tools, is a very comprehensive programmer toolbox site.


Site name: ToolFk Site Link: www.toolfk.com/ Tool link: www.toolfk.com/tool-conver…

The code of teaching

This tool [online] hexadecimal conversion tools rely on the code base for 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);
});Copy the code


Three reasons it’s worth a try:

  1. Integrate a variety of development test tools commonly used in programmer development.

  2. Simple and beautiful atmosphere of the website page

  3. Support online formatting execution code, APK online decompilation, online high-strength password generation, online web page screenshots and more than 20 tool services

  4. Also recommend its sister network www.videofk.com video download toolbox



This paper links: www.hihubs.com/article/376