Jump to content

[jquery] deactivation of button after clicking "<li>"


AndyPSV

Recommended Posts

http://jsfiddle.net/k9fFs/2/

 

if it would be ONE "remove" (clicked) __ or __ NOT EMPTY "#mail" button needs to activate

 

on #mail, you've got (working) code

<script type='text/javascript'>
         jQuery(function($){
            $('#mail').bind("focus blur change keyup",function(){var val=this.value;$(".smail").prop("disabled",!this.value)}).blur();
         });
         </script>

 

 

but how to attach code, that when the one "remove" would be at least pressed (clicked/ "on"), the button would activate?

Link to comment
Share on other sites

I've translated 6 or 8 posts from polish forums which hadn't been answer, because either nobody knew the answer or didn't read them/ didn't wanted to reply (they've remained unanswered).

If you don't believe you can follow: http://forum.webhelp.pl/search.php?keywords=AndyPSV&x=0&y=0

 

----

 

backing to topic.

 

 

http://jsfiddle.net/k9fFs/2/ <- if one <li> would be clicked and stay as "remove" OR would not be empty input "#mail" -> I want to activate the button

I've got only code for the #mail button, but I don't know how to combine it (or what action trigger)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.