EasyUI Forum
April 20, 2024, 01:25:16 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Linkbutton is disabled but button click is not disabled  (Read 3444 times)
akashana
Newbie
*
Posts: 23


View Profile
« on: September 11, 2020, 07:58:56 AM »

Hi,

Please see code

http://code.reloado.com/oquleg3/102/edit#preview

On click, we have disabled linkbutton but still button click is not disabled. Can you please let us know how to fix this ?

Thanks,


Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #1 on: September 11, 2020, 11:59:19 PM »

Try this:

Code:
     $( "#btn" ).linkbutton({
       onClick: function() {
            var s = $('#vv').val();
            $("#mydiv").append("<p>Button  Clicked</p>");
        $("#btn" ).linkbutton('disable');
       }

});
Logged
akashana
Newbie
*
Posts: 23


View Profile
« Reply #2 on: September 13, 2020, 09:57:55 PM »

It works.

Thanks !
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!