how to uninstall JDK on centos x64 linux based system

251

Have you tried yum remove jdk?

Share:
251

Related videos on Youtube

moalt wisp
Author by

moalt wisp

Updated on September 18, 2022

Comments

  • moalt wisp
    moalt wisp almost 2 years

    i have created jsfiddle here.

    $(document).ready(function() {
        var max_fields      = 10; //maximum input boxes allowed
        var x = 1; //initlal text box count
    
     $(function(){
        $('body').on('paste','.last',function(){
            if(x < max_fields){ //max input box allowed
                    x++; //text box increment
                    $('body').append('<div><textarea class="last" type="text" name="text'+(Number($(this).attr('name').match(/[0-9]+/g))+1)+'" rows="1" cols="50" /><a href="#" class="remove_field">Remove</a></div>');
                               }
                                                 })
             $('body').on("click",".remove_field", function(e){ //user click on remove text
            e.preventDefault(); $(this).parent('div').remove(); x--;
        })
    
             $('body').on('keydown','.last',function(e){
    
                 if (e.keyCode == 13) {
                     e.preventDefault();
                x++; //text box increment
                $('body').append('<div><textarea class="last" type="text" name="text'+(Number($(this).attr('name').match(/[0-9]+/g))+1)+'" rows="1" cols="50" /><a href="#" class="remove_field">Remove</a></div>'); //add input box
            }
        });    
     })        
     });
    

    Right now i only managed to make textarea input to trigger on enter keycode and paste event. How can i make the input to trigger by each new line /n so that every time i paste the data, new line input would have their own field area.

    • ghm1014
      ghm1014 about 13 years
      Did you install openjdk from yum or Oracle JDK?
    • Arvind
      Arvind almost 13 years
      i installed using yum...